Closed Esteban-Rocha closed 2 years ago
Thanks, @Esteban-Rocha for opening this issue.
Support for Multi Root workspaces is broken as of now. I need to revisit the code for a fix 👍🏾
Thanks for the heads-up @phoenisx 👍🏻
@phoenisx Any updates on this really would love to use this with my monorepos?
Hi @Esteban-Rocha, @TechnoPvP
Apologies for the delay, was a bit burned out from coding 😅
Anyways, I have started to work on this again and would love to push this change by 18th Jul. I wanted to know your use cases and how you use this plugin in a Multi Root project.
Please help me answer the following questions to add support for them:
The problem I am trying to solve here is, how to support Multi Root projects for CSS variables because every user can have a different way of setting up their projects.
I don't want to make this project complicated and wanted to understand which kind of setup would fit most of the users? Any ideas?
Or should I just populate all the CSS variables from each root into a single dropdown across folders, irrespective of which active root a dev is working on?
Just thinking out loud here 🤔 Would love to get more opinions here
Hi Folks!!
Multi Root Workspace support has been added to this extension (v1.5.0). Apologies for the delay.
Please check Examples for reference.
Also, to keep things simple, each root folder is kept isolated, which means CSS variables present in one root folder won't be accessible in another root folder.
If you need IntelliSense support for global CSS variables list from all root folders accessible to every file irrespective of which root folder they belong, please raise a separate ticket 🙇🏾
@phoenisx Hey, hope you're doing better, thanks a lot for this, I wasn't able to give you some feedback as I had been a bit busy. But I'll test it for sure, and I think it covers most scenarios.
Thanks again, take care.
Thanks for the EXT. very handy.
That said, I believe it does not work on multi-root workspaces. (@see: VsCode Multi-root Workspaces )e.g.:
To which I tried all the possible combinations and the only way the EXT. does not complain is the following syntax:
my-project.code-workspace
This also works on your main
user-settings.json
to remove the notification error popup on vscode. But it still makes the EXT to provide no intellisense/autocompletions.With that explained, I'll love to ask if I may:
Thank you.
Best,