Language extensions are very likely lazy loaded so I am finding it hard to believe that a flutter extension would impair Javascript file performance. I'd suggest creating an issue with some reproducible steps.
Can you give a concrete example? As in: I am using this command to format this file (filetype, how does it break, what are you using to format and/or beautify). I have no issues formatting Haskell, Javascript and CSS.
In this specific case, my guess is that react-beautify assumes all js files should follow react formatting conventions.
There are other silly examples like this, primarily centered around cases where the file extension doesn't necessarily imply a single choice of framework.
It would be nice if I could put all my angular plugins in one group, all my react plugins in another group, and then toggle them on or off depending on the project.
But the behavior you're describing are the standard beautify formatting rules. Prettier would probably do the same. That is the expected behavior and it is not related to any framework. If you don't like the way beautify formats your code you could look into the settings it offers. As far as I gather from your description everything is working the way it should.
3
u/Nrdrsr Mar 25 '18
I use vscode for 5-6 different languages and frameworks. Ruby, elixir, plain JS, angular 2 and TS, HTML5, Slim, Blade, PHP, Flutte(Dart)
Is there a way for me to somehow create extension profiles?
Right now whenever I start a new project I have to disable everything I don't need for that workspace.