/VS-RustAnalyzer

Primary LanguageC#GNU General Public License v3.0GPL-3.0

VS-RustAnalyzer

.NET GitHub release (latest SemVer including pre-releases)

Visual Studio Marketplace Installs Visual Studio Marketplace Rating

Source Repository for VS_RustAnalyzer Visual Studio Package.

Overview

This is an unofficial extension, with the aim of working with Rust in Visual Studio as great an experience as C# and C++. We use Visual Studio's language server code to interact with rust-analyzer, an excellent language server implementation.

Installation

This extension assumes you have already installed rust-analyzer. It will look for rust-analyzer.exe on your PATH. Alternatively, you can open Tools->Rust Analyzer and give the full path to rust-analyzer.exe, and it should work with a restart.

Features

Language Server

As Visual Studio is still implementing and improving language server features, this plugin supports the cross-section of features from Visual Studio and rust-analyzer.

Visual Studio Specific

WORK IN PROGRESS

Implemented

[x] Toml language grammar

[x] File icons (placeholder)

[x] Build

In Progress

[x] Startup Options - Basic bin support

Future

[_] Test Support

[_] Project Setup

[_] Better Cargo.toml feature set support