Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

editor-rs/vscode-rust

Repository files navigation

Build Status Gitter

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 (Ctrl+Shift+P 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

  1. Firstly, you will need to install VS Code 1.8 or later.

  2. Now in VS Code, Ctrl+P and type ext install vscode-rust.

  3. Choose to install the "Rust" extension.

The extension can also be found on the VS Code marketplace.

License

MIT