You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode shows old rust-lang extensions is deprecated. Pushes everyone towards this one. When this one is installed you get errors about "failed to discover workspace" and click through (to def) doesn't work. I suspect this is due to wrong assumptions being made that humans will open one vscode window per rust project. This is not how vscode is used. You open a top level folder with many projects in it and use vscode to search and work on all of them.
The extension should search for "nearest" Cargo.toml to the file being viewed and maintain scopes. Typically one is in src/ somewhere and ../Cargo.toml is good guess. Not sure if there is an option for that but it should be default.
The text was updated successfully, but these errors were encountered:
If it is in alpha state it definitely should not be the recommended extension in vscode. If there is a fix, we should try to bump it up in the search results.
Duplicate of #13226 and others. (If you need a workaround and don't want to just open the project folder, setting rust-analyzer.linkedProjects as described in your first link is the way to go.)
VSCode shows old rust-lang extensions is deprecated. Pushes everyone towards this one. When this one is installed you get errors about "failed to discover workspace" and click through (to def) doesn't work. I suspect this is due to wrong assumptions being made that humans will open one vscode window per rust project. This is not how vscode is used. You open a top level folder with many projects in it and use vscode to search and work on all of them.
The extension should search for "nearest" Cargo.toml to the file being viewed and maintain scopes. Typically one is in src/ somewhere and ../Cargo.toml is good guess. Not sure if there is an option for that but it should be default.
The text was updated successfully, but these errors were encountered: