-
Notifications
You must be signed in to change notification settings - Fork 76
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
Improve the message when commands are run and extension not yet activated #369
Comments
Thanks for reporting. That usually means that the plugin was not yet activated. It should activate once you open a Scala file or a workspace with a standard Scala directory structure. |
Did you manage to activate the extension? I see that you opened another issue, where you progressed further. |
Even after I progressed further, that error sometimes happens. I think that it may be happening only short time after start of vscode |
That's an expected behaviour, because most commands are only available after the language server is fully started. And it can take some seconds to start it up properly. |
Could it then give more convenient message? Something like "Wait for Metals language server to start"? It's quite more time than seconds, by the way, I think a few minutes at least, but probably because my machine is not very fast |
That should not be minutes ever, it means that starting a single java process is taking minutes on your machine, which makes it almost unusable 🤔 I have never really seen a situation like that, is there anything in the logs? Is there are message in the bottom saying "Starting Metals server" ? |
Ah, sorry for late response. It starts so slowly, because we have mcafee here and it takes really long time to inspect every process that's being run when vscode starts (which's a bunch of language servers), that's why metals starts some time after vscode already started. It's not so unusable, once all executables are inspected, it runs as normal, but in between some of the extensions behave erratically, including metals |
Thanks for the explanation. This can be improved inside the VS Code plugin - I will move it here. The issue has a lower priority though, so we would be happy to accept any contributions since I don't think we will be able to work on it soon. |
…rn/types/node-16.11.7 Bump @types/node from 16.11.6 to 16.11.7
Describe the bug
Import of maven project does not work
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors
Screenshots
Installation:
Additional context
It's first time I'm running that extension in VSCode
Search terms
The text was updated successfully, but these errors were encountered: