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

Sbt bloopInstall #1466

Open
tsxjsx opened this issue Feb 28, 2024 · 3 comments
Open

Sbt bloopInstall #1466

tsxjsx opened this issue Feb 28, 2024 · 3 comments

Comments

@tsxjsx
Copy link

tsxjsx commented Feb 28, 2024

Sbt bloopInstall take long time
Screenshot from 2024-02-28 10-21-54

@tgodzik
Copy link
Contributor

tgodzik commented Feb 28, 2024

Thanks for reporting, but if the code compiles long and uses generated source then it will take that much time. I would need more actionable data to do anything about it.

I would ask you to try provide a bit more information in your issue and maybe use the template provided to get us some basic information. You should try to put yourself in our shoes, would you be able to fix anything if provided a single screenshot?

@tsxjsx
Copy link
Author

tsxjsx commented Feb 28, 2024

thanks for reply
You should try to put yourself in our shoes, would you be able to fix anything if provided a single screenshot?
i agree tgodzik

How to Reproduce?:-
1->clone this sample project :- https://github.com/abdheshkumar/scala-examples.git
2->note that In the first time metals not automatically compile the project we manually execute the start the scala cli command.
3->once you compiled plz execute the import build command manually or vscode popup through

setup:-
fallback scala version:- 2.12.17
metals version :- 1.2.2
javaHome :- openjdk11

@kasiaMarek
Copy link
Contributor

Your project seems to use sbt version 0.13.16, which is not supported by metals, and importing the build will not work. If you upgrade your sbt version and used Scala version the project should work as expected.

Note also that start the scala cli command will start a scala-cli build server and use it for compiling, this will completely ignore build information coming from build.sbt and shouldn't be used for sbt projects.

Hope this helps.

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

3 participants