rust-lang / vscode-rust

Rust extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rust-lang.rust
Other
1.39k stars 167 forks source link

Intellisense in multiple cargo projects #917

Open lattice0 opened 3 years ago

lattice0 commented 3 years ago

I have a project like this:

liborwell/
glium_orwell/

where liborwell is a cargo project by itself, and also is glium_orwell

Somehow, only liborwell works in VSCode. That is, only it has intellisense. glium_orwell won't have any.

Is there something I can do so both projects work with intellisense?

lnicola commented 3 years ago

You can try making a Cargo workspace including the two. Also, rust-analyzer might have better (though not perfect) Code workspace support.

(Or you could try both of these things.)