Skip to content

Commit a257a58

Browse files
committed
Auto merge of #14072 - ericsink:master, r=lnicola
Expand docs section on Visual Studio to mention all three available extensions A recent PR (#14012) by `@parthopdas` added mention of rust-analyzer.vs, his extension for Visual Studio 2022. I am submitting this PR to request that our extension (SourceGear Rust) be mentioned in that section as well, and also, for completeness, the VS_RustAnalyzer extension, by `@cchharris.` Our extension is closed source, so I have clearly disclosed that. For consistency, I included brief mention of the licenses for the other two options as well. Also for the sake of consistency, I added marketplace and GitHub links for all 3. The previously added paragraph by `@parthopdas` about his extension has been left intact.
2 parents 23e60c1 + 24d3e93 commit a257a58

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

docs/user/manual.adoc

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,13 +520,42 @@ There is a package named `ra_ap_rust_analyzer` available on https://crates.io/cr
520520

521521
For more details, see https://github.com/rust-lang/rust-analyzer/blob/master/.github/workflows/publish.yml[the publish workflow].
522522

523-
=== Visual Studio IDE
523+
=== Visual Studio 2022
524+
525+
There are multiple rust-analyzer extensions for Visual Studio 2022 on Windows:
526+
527+
==== rust-analyzer.vs
528+
529+
(License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International)
530+
531+
https://marketplace.visualstudio.com/items?itemName=kitamstudios.RustAnalyzer[Visual Studio Marketplace]
532+
533+
https://github.com/kitamstudios/rust-analyzer/[GitHub]
524534

525535
Support for Rust development in the Visual Studio IDE is enabled by the link:https://marketplace.visualstudio.com/items?itemName=kitamstudios.RustAnalyzer[rust-analyzer] package. Either click on the download link or install from IDE's extension manager.
526536
For now link:https://visualstudio.microsoft.com/downloads/[Visual Studio 2022] is required. All editions are supported viz. Community, Professional & Enterprise.
527537
The package aims to provide 0-friction installation and therefore comes loaded with most things required including rust-analyzer binary. If anything it needs is missing, appropriate errors / warnings will guide the user. E.g. cargo.exe needs to be in path and the package will tell you as much.
528538
This package is under rapid active development. So if you encounter any issues please file it at link:https://github.com/kitamstudios/rust-analyzer/[rust-analyzer.vs].
529539

540+
==== VS_RustAnalyzer
541+
542+
(License: GPL)
543+
544+
https://marketplace.visualstudio.com/items?itemName=cchharris.vsrustanalyzer[Visual Studio Marketplace]
545+
546+
https://github.com/cchharris/VS-RustAnalyzer[GitHub]
547+
548+
==== SourceGear Rust
549+
550+
(License: closed source)
551+
552+
https://marketplace.visualstudio.com/items?itemName=SourceGear.SourceGearRust[Visual Studio Marketplace]
553+
554+
https://github.com/sourcegear/rust-vs-extension[GitHub (docs, issues, discussions)]
555+
556+
* Free (no-cost)
557+
* Supports all editions of Visual Studio 2022 on Windows: Community, Professional, or Enterprise
558+
530559
== Troubleshooting
531560

532561
Start with looking at the rust-analyzer version.

0 commit comments

Comments
 (0)