-
Notifications
You must be signed in to change notification settings - Fork 283
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
Support for Scala Metals #3345
Comments
Additionally, it looks like the extension scala-lang is no longer able to apply syntax colour once Metals is running. Any new Scala file has no syntax colouring but metals is able to compile it (or Scala file that was not open yet before metals started). |
You have to install this plugin too: https://open-vsx.org/extension/scala-lang/scala to make it work correctly! Also if anybody knows how to copy errors from the notifications pane I'd like to know! |
OK after installing the sclala plugin as suggested in the error message and by @zetashift , I get I am not able to create Scala classes. Error messages are not shown correctly. |
Interesting, I tried the Scala + Scalametals plugin on a simple, 'hello-sbt' project, and didn't see those errors. It might be something special about the configuration of the project. A couple of bits of info that might help, @modoodalvi
It's possible this error, like the one in #3311 (comment) - occurs in VSCode, but doesn't get surfaced like in Onivim.
Do you have more details about this - when you say not able to create Scala classes, is it because of the issues with the error display? This is a case where the output from the extension would be useful in troubleshooting (#2365) |
I'm on Linux, using a recent nightly version. EDIT: just wanted to say, even with the notifications things still work from what I've tried. |
Ah, thanks @zetashift ! I'm able to reproduce the error now, too - will help me figure out if it's a 'real' issue, or not. I believe that, for some reason, this extension is getting activated inappropriately in this case - it shouldn't be running or activated at all in a nim project or a non-sbt project. |
Hi @bryphe, what is interesting: I created a really simple project to make the error message reproducible for you. |
I can also confirm the error message when installing the Nim plugin. |
Hi! I'd like to provide (an) additional data (point):
|
Installing VS Code extension scalameta yields following error message on restart
The text was updated successfully, but these errors were encountered: