-
Notifications
You must be signed in to change notification settings - Fork 5
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
Automatically register new workspace folders for source dependencies #14
Comments
Just want to check in on this one - not meaning as a simple "bump", but I'm not sure this issue is something way bigger than what I need. My need is not any automatic detection of source dependencies, but just being able to have more than one Scala project in a vscode workspace. Is it easily possible to register multiple ones at bootup of metals already? That would be good enough for me, but currently I need to open multiple vscode instances just to be able to work with multiple Scala projects using metals which is a big annoyance for my workflow. I couldn't find any issue asking for just that but I might have bad search foo today… I think there was a discussion on this on some other forum and I never really understood if this particular issues is aligned with what I'm asking for. So question is if I should open another feature request for my possibly "simpler" need…? I found #1758 but my understanding is that this is for selecting between different build tools in one workspace folder…? |
@hedefalk I think you are looking for scalameta/metals#5188 - this is something that we still miss in Metals and would be awesome to implement, but we haven't had the time yet. |
Thanks, my search foo really was bad today :) |
Originally reported by @benhutchison in scalameta/metals#507 (comment)
Import Experience in Metals:
![image](https://user-images.githubusercontent.com/95460/52756621-13dbbf80-3056-11e9-964f-d9d58ad6e2d9.png)
Import Experience in Intellij:
![image](https://user-images.githubusercontent.com/95460/52756569-e7c03e80-3055-11e9-9b8c-9575443cf22e.png)
Users can already manually attach workspace folders via https://code.visualstudio.com/docs/editor/multi-root-workspaces
This is a feature request to make Metals automatically register workspace folders. There's no endpoint in LSP for servers to register new workspace folders, only to read existing ones https://microsoft.github.io/language-server-protocol/specification#workspace_workspaceFolders We could add a new client command for it like here https://scalameta.org/metals/docs/editors/new-editor.html#metals-client-commands
The text was updated successfully, but these errors were encountered: