Awesome
Hello everyone. I'm a maintainer and I'm very busy. At some point rls-vscode will supersede the extension. Until that moment someone should maintain the extension. If you are interested in it, please send me an email to kalita.alexey@outlook.com
Rust for Visual Studio Code (Latest: 0.4.2)
What is the repository?
The extension is continuation of RustyCode (an extension for Visual Studio Code for Rust language).
RustyCode is no longer maintained and the developer seems to have lost all interest in the extension. Due to no response from the original author, this repository was created which now contains additional features and many bug fixes.
Extension
This extension adds advanced language support for the Rust programming language within VS Code. It features:
- Rust Language Server integration.
- Autocompletion (via
racer
or RLS). - Go To Definition (via
racer
or RLS). - Go To Symbol (via
rustsym
or RLS). - Code formatting (via
rustfmt
). - Code Snippets.
- Cargo tasks (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and type
cargo
to view them). - …and a lot of other features. To learn more, see the documentation.
On update, please review the changelog.
Installation
-
Firstly, you will need to install VS Code
1.8
or later. -
Now in VS Code, <kbd>Ctrl</kbd>+<kbd>P</kbd> and type
ext install vscode-rust
. -
Choose to install the "Rust" extension.
The extension can also be found on the VS Code marketplace.