-
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
VS Code extension on windows initially fails to connect to bloop #1601
Comments
Thanks for reporting! The warning is displayed, because the mill import command fails: Is there any more data in the output about why it failed? |
Unfortunately not, only The only hint we have is that the command is able to run to a successful exit in the command prompt, but not when executed by the plugin. |
I wonder if it might be that in both cases the exit code is actually non zero, but only breaks in Metals? Would it be possible to check? I will try to run a mill windows slow test, might show some other issues. |
|
Testing the integration here: #1632 |
On Windows, you will get an error code from |
@heksesang @kag0 I think this should be fixed in #1715 We now automatically add Could you confirm? |
I cannot confirm that it fails on 0.9.0 because of the error
Works fine on another project I am working on as well. |
@heksesang Thanks! |
Snapshot works for me! |
Thanks! Closing it, since the fix is confirmed. |
Describe the bug
After applying a fix for #1600 by setting the mill path to a fixed wrapper, an initial attempt to connect to the server fails. A subsequent attempt succeeds and everything seems to work fine but the user is prompted with a warning notification about limited functionality.
To Reproduce
Steps to reproduce the behavior:
Metals: Import build
Expected behavior
No warning is shown, build server successfully connects the first time.
Screenshots
Notification area gives:
Output gives:
Installation:
Additional context
Running the command (
C:\Users\NATHAN~1\AppData\Local\Temp\metals81364211047803705\millw.bat --predef C:\Users\NATHAN~1\AppData\Local\Temp\metals9998593126039946172\predef.sc mill.contrib.Bloop/install
) directly in the command prompt works fine, no messages about connecting to the build server are shown.Search terms
mill vs code bloop warning
The text was updated successfully, but these errors were encountered: