-
Notifications
You must be signed in to change notification settings - Fork 3
rust-analyzer failing unexpectedly #61
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
Comments
Rust needs the information where the root of the project is. This can be achieved in two ways:
Only languages like Python work without specifying root of the project under the condition that the python script is just a single file containing all the code.
By the way, the extra logs are shown in the terminal when you launch Geany from it, not in the messages window (when you enable full logging, the result is just too verbose to be displayed in the message window). |
I've tried
Got it, the error message is:
|
No idea what this particular message means but:
|
Sounds like this If you really have 2 rust-analyzer versions installed like in this issue, absolute path to the correct version should solve it. |
Yeah that was it, weird. I got the same error just running it from my terminal, but after deleting, and reinstalling via rustup, it worked fine. Sorry to bombard you with user-error issues today. Thanks so much for building this plugin, is there anywhere I can donate to or sponsor your work? |
Good to hear. If you run into any other problems, just let me know. |
I use rust-analyzer at work. I set the global setting for
use_without_project
. I also enabled every setting I could find in terms of logging, and this is really all that comes out of it.Just to see if the problem was actually with rust-analyzer, I also tried
gopls
with the same options, and that worked fine.The text was updated successfully, but these errors were encountered: