-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Importing projects fails on VSCode and IntelliJ on Windows #4161
Comments
@UtilFunction are you on ARM windows? I wonder if it's related to #4055 |
@lihaoyi no, x64. |
@lihaoyi strangely it works if I set the absolute path in the VSCode Metals settings and point it to |
@UtilFunction that's a bit unusual, i thought i merged millw.bat into mill.bat recently, so they should be the same. Could you compare both files and see if they are indeed the same? |
@lihaoyi this is the only difference between the files: |
@UtilFunction got it, looks like it's the same then. I don't have my windows laptop with me now but I can try next time I have it |
Maybe that error could be silently trapped, or reported, but then ignored by Mill. That call is meant to enable ANSI output in windows terminals. It's only a nice-to-have, it shouldn't make Mill crash. |
Update: |
I have the same problem. It only occurs when importing BSP project by IntelliJ IDEA. Current workaround: create file
It seems to me that this is a bug in the alexarchambault/windows-ansi library, which is not compatible with the latest changes in JDK. In particular, JDK has changed the behavior of the method
Maybe I'm wrong, not sure. |
Steps to reproduce:
IntelliJ Error:
VSCode Error:
Windows 11 24H2
OpenJDK 23.0.1
Metals 1.44.0
IntelliJ 2024.3 (Scala Plugin ver. 2024.3.574)
Mill 0.12.4
The text was updated successfully, but these errors were encountered: