-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Multi-root workspace in vscode #16030
Comments
For a multi-language project it is recommended to use As to the reviewers it would be very kind of you to choose more active maintainers. As a matter of fact somebody will eventually answer your questions so you don't really need to ping anyone. EDIT : The author has already mentioned, that they use |
@alibektas , Thank you for your response. Should we utilize both
|
You see there is not a single way to answer your question. Normally if you can open your rust workspace as the |
As to the error : What is the output of |
Output of
|
Without having seen how your Cargo.toml looks I can't really give an answer but the error should be self-explanatory. The error from rust-analyzer is one that stems from this |
Note that you can have a workspace local vscode settings.json file that specifiy the |
This is how my vscode workspace appears:
I used
rust-analyzer.linkedProjects
insettings.json
to enable auto-completion with RALS (Rust Analyzer Language Server). It worked well, but I had to modify the settings whenever I created a new cargo project.To address this, I started updating rust's
workspace.members
manually with all myCargo.toml
paths to track them. It is manageable but still requires manual effort.The text was updated successfully, but these errors were encountered: