Skip to content
| Marketplace
Sign in
Visual Studio>Tools>rust-analyzer

rust-analyzer

Kitam Studios

|
540 installs
| (5) | Free
Rust language support for Visual Studio

rust-analyzer - Rust language support for Visual Studio

CDP License: CC BY-NC-SA 4.0 Release Visual Studio Marketplace Downloads Visual Studio Marketplace Rating Discord

Download this extension from the Visual Studio Marketplace or get the CI build.

Principles

  1. Drive developer towards Rust community best practices.
  2. UI and behavior parity with 'Open Folder' experience for a C# solution with multiple projects (unless it contradicts #1).
  3. Enhance with Rust community tools sets e.g. fmt, clippy, examples, docs. etc.
  4. Killer features e.g. ChatGPT integration.

Features

  • Build, Clean (errors in Error list with details in output window).
  • Debug & Run without debugging.
  • Workspace support (continuing to get enhanced as I find more examples).
  • Intellisense / Auto-complete / Goto definition / Code actions / Find references etc. all features from Rust language server.
  • Examples support (run & debug).
  • Tested above features with top Rust OSS projects like cargo, ruffle, iced, geo, ruff, reqwest, wasmtime.

Upcoming

  • Clippy / Fmt integration.
  • Test integration - 1 (unit / integration, run & debug)
  • Folder enhancements (icons, context menus).
  • ChatGPT integration.
  • Test integration - 2 (documents).
  • Basic crates.io integration.
  • Basic cargo management.

Demo

How can I help?

If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace.

Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist.

Pull requests are also very welcome, since I can't always get around to fixing all bugs myself.

Common links

  • Open Folder extensibility is pretty much the only documentation apart from the sample code folks have written (see Acknowledgements).

Acknowledgements

  • VS-RustAnalyzer for the inspiration and show how to write an 'Open Folder' extension.
  • nodejstools for demonstrating good practices and utilities for writing extensions.
  • madskristensen for being an immense store of extensions authoring tips, tricks & techniques.
  • develop-vsextension-with-github-actions for the workflow scripts.
  • vsixcookbook for the guidance and best practices.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft