You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can work with multiple project folders in Visual Studio Code with multi-root workspaces. This can be very helpful when you are working on several related projects at one time. For example, you might have a repository with a product's documentation which you like to keep current when you update the product source code.
It feels most logical to use one language server per workspace, so it's easier to keep the list of dependencies inside of a workspace/aurelia project separated. Otherwise, we might mix up different workspaces, and you don't want a suggestion based on different workspaces/ Aurelia2 projects. For example: get hints in workspace 1 about an Aurelia2 plugin you installed in workspace 2.
Support multi workspaces in vs code
more information for end users can be found here: https://code.visualstudio.com/docs/editor/multi-root-workspaces
more information on extension authoring can be found here:
https://github.com/Microsoft/vscode/wiki/Adopting-Multi-Root-Workspace-APIs
It would be nice if the Aurelia extension supports multiple workspaces by default.
This scenario can be either supported using a single language server or by using multiple language servers; one for each workspace (https://github.com/Microsoft/vscode/wiki/Adopting-Multi-Root-Workspace-APIs#single-language-server-or-server-per-folder).
It feels most logical to use one language server per workspace, so it's easier to keep the list of dependencies inside of a workspace/aurelia project separated. Otherwise, we might mix up different workspaces, and you don't want a suggestion based on different workspaces/ Aurelia2 projects. For example: get hints in workspace 1 about an Aurelia2 plugin you installed in workspace 2.
There is a sample code implementation for this, but it is using a deprecated property (
params.rootUri
). There is an open issue on the samples repo for this https://github.com/microsoft/vscode-extension-samples/issues/207 awaiting the response to that.related to: #107
The text was updated successfully, but these errors were encountered: