Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-root workspaces in vscode with different definitions files in each root #39

Open
chrissimon-au opened this issue May 28, 2023 · 0 comments

Comments

@chrissimon-au
Copy link
Contributor

Related to #38, but on that one it was decided to just support a single shared definitions file.

To support separate definitions files, a few changes are needed:

  1. LanguageServer needs to request configuration with a resource scope for the file currently being worked on (auto-complete or hover)
  2. LanguageClient middleware added for Support VSCode multi-root #38 needs to detect the resource scope and skip the path rewriting. VsCode default configuration should supply the config value for the appropriate workspace based on the resource scope
  3. LanguageServer needs to maintain a definitions file state for all possible definitions files and to use the correct one depending on the file being worked on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant