Skip to content

Commit c6c0ac2

Browse files
committed
Auto merge of #12919 - jonas-schievink:speling, r=jonas-schievink
fix: Fix r-a spelling in some places User-facing change: All commands are now rendered as "rust-analyzer: Command" rather than "Rust Analyzer: Command". Alternative to rust-lang/rust-analyzer#12910 Potentially controversial, since other extensions don't do this, so I won't self-approve.
2 parents 8e38833 + bd7dfac commit c6c0ac2

File tree

28 files changed

+64
-64
lines changed

28 files changed

+64
-64
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Before submitting, please make sure that you're not running into one of these kn
1919
Otherwise please try to provide information which will help us to fix the issue faster. Minimal reproducible examples with few dependencies are especially lovely <3.
2020
-->
2121

22-
**rust-analyzer version**: (eg. output of "Rust Analyzer: Show RA Version" command)
22+
**rust-analyzer version**: (eg. output of "rust-analyzer: Show RA Version" command)
2323

2424
**rustc version**: (eg. output of `rustc -V`)
2525

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer
4343

4444
## License
4545

46-
Rust analyzer is primarily distributed under the terms of both the MIT
46+
rust-analyzer is primarily distributed under the terms of both the MIT
4747
license and the Apache License (Version 2.0).
4848

4949
See LICENSE-APACHE and LICENSE-MIT for details.

crates/hir-def/src/item_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//! unaffected, so we don't have to recompute name resolution results or item data (see `data.rs`).
1515
//!
1616
//! The `ItemTree` for the currently open file can be displayed by using the VS Code command
17-
//! "Rust Analyzer: Debug ItemTree".
17+
//! "rust-analyzer: Debug ItemTree".
1818
//!
1919
//! Compared to rustc's architecture, `ItemTree` has properties from both rustc's AST and HIR: many
2020
//! syntax-level Rust features are already desugared to simpler forms in the `ItemTree`, but name

crates/ide-db/src/apply_change.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl RootDatabase {
4545
// |===
4646
// | Editor | Action Name
4747
//
48-
// | VS Code | **Rust Analyzer: Memory Usage (Clears Database)**
48+
// | VS Code | **rust-analyzer: Memory Usage (Clears Database)**
4949
// |===
5050
// image::https://user-images.githubusercontent.com/48062697/113065592-08559f00-91b1-11eb-8c96-64b88068ec02.gif[]
5151
pub fn per_query_memory_usage(&mut self) -> Vec<(String, Bytes)> {

crates/ide-ssr/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
// |===
5858
// | Editor | Action Name
5959
//
60-
// | VS Code | **Rust Analyzer: Structural Search Replace**
60+
// | VS Code | **rust-analyzer: Structural Search Replace**
6161
// |===
6262
//
6363
// Also available as an assist, by writing a comment containing the structural

crates/ide/src/expand_macro.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub struct ExpandedMacro {
1919
// |===
2020
// | Editor | Action Name
2121
//
22-
// | VS Code | **Rust Analyzer: Expand macro recursively**
22+
// | VS Code | **rust-analyzer: Expand macro recursively**
2323
// |===
2424
//
2525
// image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[]
@@ -32,7 +32,7 @@ pub(crate) fn expand_macro(db: &RootDatabase, position: FilePosition) -> Option<
3232
_ => 0,
3333
})?;
3434

35-
// due to how Rust Analyzer works internally, we need to special case derive attributes,
35+
// due to how rust-analyzer works internally, we need to special case derive attributes,
3636
// otherwise they might not get found, e.g. here with the cursor at $0 `#[attr]` would expand:
3737
// ```
3838
// #[attr]

crates/ide/src/inlay_hints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub enum InlayTooltip {
100100
// |===
101101
// | Editor | Action Name
102102
//
103-
// | VS Code | **Rust Analyzer: Toggle inlay hints*
103+
// | VS Code | **rust-analyzer: Toggle inlay hints*
104104
// |===
105105
//
106106
// image::https://user-images.githubusercontent.com/48062697/113020660-b5f98b80-917a-11eb-8d70-3be3fd558cdd.png[]

crates/ide/src/join_lines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct JoinLinesConfig {
2828
// |===
2929
// | Editor | Action Name
3030
//
31-
// | VS Code | **Rust Analyzer: Join lines**
31+
// | VS Code | **rust-analyzer: Join lines**
3232
// |===
3333
//
3434
// image::https://user-images.githubusercontent.com/48062697/113020661-b6922200-917a-11eb-87c4-b75acc028f11.gif[]

crates/ide/src/matching_brace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use syntax::{
1212
// |===
1313
// | Editor | Action Name
1414
//
15-
// | VS Code | **Rust Analyzer: Find matching brace**
15+
// | VS Code | **rust-analyzer: Find matching brace**
1616
// |===
1717
//
1818
// image::https://user-images.githubusercontent.com/48062697/113065573-04298180-91b1-11eb-8dec-d4e2a202f304.gif[]

crates/ide/src/move_item.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pub enum Direction {
1919
// |===
2020
// | Editor | Action Name
2121
//
22-
// | VS Code | **Rust Analyzer: Move item up**
23-
// | VS Code | **Rust Analyzer: Move item down**
22+
// | VS Code | **rust-analyzer: Move item up**
23+
// | VS Code | **rust-analyzer: Move item down**
2424
// |===
2525
//
2626
// image::https://user-images.githubusercontent.com/48062697/113065576-04298180-91b1-11eb-91ce-4505e99ed598.gif[]

0 commit comments

Comments
 (0)