rust/src/tools/rust-analyzer/editors/code
bors d646f7b258 Auto merge of #17705 - huntc:resolve-ra, r=Veykril
feat: Use oldest rustup rust-analyzer when toolchain override is present

Selects a rust-toolchain declared RA based on its date. The earliest (oldest) RA wins and becomes the one that the workspace uses as a whole.

In terms of precedence:

nightly > stable-with-version > stable

With stable-with-version, we invoke the RA with a `--version` arg and attempt to extract a date. Given the same date as a nightly, the nightly RA will win.

Fixes #17663
2024-08-02 06:50:43 +00:00
..
src Auto merge of #17705 - huntc:resolve-ra, r=Veykril 2024-08-02 06:50:43 +00:00
tests Corrected precedence position 2024-07-31 21:24:56 +10:00
.eslintignore Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
.eslintrc.js Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
.gitignore Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
.prettierignore Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
.prettierrc.js Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
.vscodeignore Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
icon.png Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
language-configuration.json Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
LICENSE Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
package-lock.json Chore(deps-dev): Bump braces from 3.0.2 to 3.0.3 in /editors/code 2024-06-11 09:01:41 +00:00
package.json docs: Fix JSON example for rust-analyzer.workspace.discoverConfig 2024-07-31 16:10:42 -07:00
ra_syntax_tree.tmGrammar.json Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
README.md Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
tsconfig.eslint.json Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00
tsconfig.json Allow rust files to be used linkedProjects 2024-04-21 16:26:55 +02:00

rust-analyzer

This extension provides support for the Rust programming language. It is recommended over and replaces rust-lang.rust.

Features

Quick start

  1. Install rustup.
  2. Install the rust-analyzer extension.

Configuration

This extension provides configurations through VSCode's configuration settings. All configurations are under rust-analyzer.*.

See the manual for more information on VSCode specific configurations.

Communication

For usage and troubleshooting requests, please use the "IDEs and Editors" category of the Rust forum.

Documentation

See rust-analyzer.github.io for more information.