Rust support for Visual Studio 2017 15.8+
Adds language support for Rust to Visual Studio 2017. Supports:
- code completion
- goto definition
- find all references
- error squiggles
- code action (lightbulb)
Rust support is powered by the Rust Language Server (RLS).
Please note that this extension is very early in development, there may be bugs or rough edges.
- Install a build of Visual Studio (15.8 preview 3 or newer).
- Install rustup (Rust toolchain manager).
- Install this extension from the marketplace
- Open a Rust project (
File > Open Folder...). Open the folder for the whole project (i.e., the folder containing 'Cargo.toml'), not the 'src' folder.
- The extension will start when you open a Rust file. You'll be prompted to install the RLS. Once installed, the RLS should start building your project.