-
Notifications
You must be signed in to change notification settings - Fork 339
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
"No workspace chosen to import" error on gradle project #7031
Comments
Did you manage to import the build at any point? I got:
The issue with |
I can't reproduce the issue, but looks like we should have a fallback to use the workspace if it's th single one. |
We have a fallback workspace folder instead to handle single files. The problem is that this project won't be recognised as "metals" project. (People complained that To fix this: we could assume |
interesting ... for this particular project I did execute "gradle bloop" before, but it was probably flushed out by git later. Will need to investigate |
executed gradle bloop and see no difference. This is the only metal I got:
|
That won't help (though probably should). You'd have to create |
@kasiaMarek the directory is at the right location. not sure about .scala files, but theoretically they depends on the first successful workspace compilation (or unsuccesful one on Scala 3), so it's impossible to find them |
Describe the bug
this issue can be reproduced by importing https://github.com/acyclic-ai/six-scala on VSCode/Cursor + Scala metals plugin
But the workspace can be seen on the right side
Expected behavior
gradle project should be imported
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.4.1
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: