Skip to content

Rust extension for Visual Studio 2017 with RLS support

License

Notifications You must be signed in to change notification settings

ZoeyR/rls-vs2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust support for Visual Studio 2017 Preview

Build status

Adds language support for Rust to Visual Studio 2017. Supports:

  • code completion
  • goto definition
  • find all references
  • error squiggles
  • code action (lightbulb)
  • hover
  • formatting
  • rename

Rust support is powered by the Rust Language Server (RLS). Language server support was recently added experimentally to Visual Studio, and is only available on preview builds of VS.

Please note that this extension is very early in development, there may be bugs or rough edges.

Quick Start

  • Install a preview 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.