metals-vscode
metals-vscode copied to clipboard
Sbt bloopInstall
Sbt bloopInstall take long time
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?
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
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.