-
Notifications
You must be signed in to change notification settings - Fork 333
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
Run CodeLens does not respect Bloop-configured JVM #5780
Comments
Thanks for reporting! You should be able to change the I will leave this issue open, since we might be able to figure out how to solve this better in the future. |
I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test 🤔 Fixes scalameta#5780
I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test 🤔 Fixes scalameta#5780
I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test 🤔 Fixes scalameta#5780
Well, this seem to be actually quite easy to do and I totally forgot |
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes scalameta#5780
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes scalameta#5780
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes scalameta#5780
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes scalameta#5780
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes scalameta#5780
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes scalameta#5780
~~I am hesistant to add a test case, since that would require downloading separate JDK for the sake of one test~~ Decided to add test as the logic became a bit more complex. Fixes #5780
In my project's Bloop config, I have:
However, when I click "run" in the CodeLens, I see that metals-vscode is using the version of Java that corresponds to
JAVA_HOME
instead.Expected behavior
I'd expect the CodeLens to run the main method using the Java version configured in the corresponding Bloop projects JVM configuration (eg. as
bloop run
would do).Installation:
The text was updated successfully, but these errors were encountered: