rust-embedded / discovery

Discover the world of microcontrollers through Rust!
https://docs.rust-embedded.org/discovery/
Apache License 2.0
1.49k stars 515 forks source link

Add VS Code settings for enabling cargo features #528

Closed margaretdax closed 1 year ago

margaretdax commented 1 year ago

I was running into issues with rust-analyzer in VS Code with the whole repo open. Remembered dealing with this on the rustlings project, and they implemented this lsp command to generate a rust-analyzer.json. Rust Analyzer supports this format.

Looks like an issue was identified in #451, enabling this by default would be great :)