Giter VIP home page Giter VIP logo

angular-components-vscode's Introduction

Angular Components - VS Code Extension

A simple extension for opening TypeScript, HTML, and CSS files all at once when selecting a component.

Extension Settings

This extension contributes the following settings:

  • angular.order: the order for opening the files (Ex: typescript html css)
  • angular.preview: if set then file opened will be previews
  • angular.automatic: open corresponding files automatically when .component.ts files are opened

1.0.0

Initial release of Angular Components

angular-components-vscode's People

Contributors

jbelford avatar

Watchers

James Cloos avatar  avatar

angular-components-vscode's Issues

[Bug/Feature] Make automatic behaviour not trigger if file is open in a lock group or split.

Hi, I'm using this extension for a while now and there is one big drawback that I want to discuss here, see if it could be solve.

Using this extension force user to have a particular layout. Having set automatic in the settings. I'm force to use a layout of 3 column. I lock column 2 and 3 for scss and html, because only TS will trigger the file opening and I don't want to see TS file opening in other group than the first because it mess the layout even more.

  • In fact, I use 2 row:
    • 3 column first row (config: ts,css,html)
    • 2 column second row.
      Only the first group is not lock, the rest are all lock.

Issue

I can't split file or open the file twice... I think automatic behaviour try to move file to their designated group. The problem here is that when you are trying to get a side by side view of 2 components, the extension doesn't allow you to do that. It move the file to the first group and if it is already present, the second window is close immediately by vscode.

Request

If the file already exist in the TS group, it does not trigger the automatic behaviour when you open the file. Maybe it should be if the file is open in a lock group it doesn't trigger?

To be honest, the biggest drawback is that I cannot see 2 files side by side because the automatic behaviour trigger when I try to. Could you fix that ?

Considering this extension was not update for 4+ years, are you open to merge PR if I make one. I would prefer if you could do the improvement, but I don't expect much reaching out here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.