Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Support multi folder workspace #38

Open
jibbers42 opened this issue Sep 10, 2022 · 2 comments
Open

Support multi folder workspace #38

jibbers42 opened this issue Sep 10, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jibbers42
Copy link

Please forgive any errors in terminology for vscode workspaces, roots, folders, etc.

I created stylizer settings in a folder root in my multi folder workspace, but as can be seen in the screenshot, stylizer won't use the settings. I have another dart project open in a second folder root that my code depends on, but may or may not have it's own stylizer rules. I would like for stylizer to use each folder root's .vscode/settings.json file when in a multi folder workspace.

Of course I can open just my code, but being able to look at and even edit the code in the other project as another folder root is very helpful.

image

@jibbers42
Copy link
Author

jibbers42 commented Sep 10, 2022

I just realized I can put the settings in my *.code-workspace folder and it seems to apply them. I'm guessing that means those settings apply to all roots. I still think it would nice if it's possible to have them apply to each root independently, but now I can use my settings for my code at least.

(as you can tell, I'm not too familiar with how exactly multi folder workspaces work)

Edit: I just realized one issue with this is that the *.code-workspace file isn't checked into git since it points to where I keep the other project on my machine. So this solution isn't quite as good I thought.

@gmlewis
Copy link
Owner

gmlewis commented Sep 10, 2022

Ah, very interesting, @jibbers42 - I'm not sure how to get VSCode to handle this either.
I'll leave this issue open in case anyone else has any ideas on how to address this properly.

@gmlewis gmlewis added help wanted Extra attention is needed enhancement New feature or request labels Dec 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants