-
Notifications
You must be signed in to change notification settings - Fork 1.8k
rust-analyzer
fails to load the workspace partially
#15341
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-analyzer
fails to load the workspacerust-analyzer
fails to load the workspace partially
Which files? IDE features work fine for me in |
Ah sorry! Forgot to mention the most important detail ... It is about files in this directory: It seems that |
We enable |
Unfortunately Removing |
It's a bit more work, but you can ignore individual tests with e.g. |
Hmmm, indeed a lot of work given that there are well over a 1000 tests but on a second thought probably also the way conditional tests like these should actually have been handled in the first place. 🤔 Thanks! This issue can be closed I guess. Thanks again! |
wasmi-labs/wasmi#744 might do it, I didn't test. We might also add a |
Solution for the issue has been found. Thanks to @lnicola for the help! |
Uh oh!
There was an error while loading. Please reload this page.
Since a few days
rust-analyzer
started to fail loading test-only parts of my workspace with the following message that constantly pops up as soon as I touch those test files:Additionally it constantly creates the following file in
.vscode/settings.json
:(Although this
settings.json
file does not even help with the problem.)This is a huge issue for me because I can no longer test and debug individual test files.
The whole IDE experience for my tests is gone. I reported this only now since I hoped the problem would resolve itself quickly.
The project with which I am experiencing this issue is: https://github.com/paritytech/wasmi
And in particular I am currently working on this branch: https://github.com/paritytech/wasmi/tree/rf-engine-regmach
It is important to note that the non-test related parts of the workspace seem to load fine.
The text was updated successfully, but these errors were encountered: