diff options
| author | bors <bors@rust-lang.org> | 2023-11-12 13:48:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-12 13:48:43 +0000 |
| commit | 1152f593b32dbcf0b92bdc7fba722ea6ffa67f9a (patch) | |
| tree | a88397d3f86f5390dd900216d8396520990c01f9 | |
| parent | 5fcf5289e726785d20d3aa4d13d90a43ed248e83 (diff) | |
| parent | cace36cadec95e976867841b25563c66b5c7652d (diff) | |
| download | rust-1152f593b32dbcf0b92bdc7fba722ea6ffa67f9a.tar.gz rust-1152f593b32dbcf0b92bdc7fba722ea6ffa67f9a.zip | |
Auto merge of #15870 - lnicola:expand-macro, r=lnicola
minor: Make "Expand macro" command title more explicit Closes [#15856](https://github.com/rust-lang/rust-analyzer/issues/15856). I opted for "caret", since it's the better term (cursor is the mouse), but I'm not sure how popular it is these days.
| -rw-r--r-- | crates/ide/src/expand_macro.rs | 4 | ||||
| -rw-r--r-- | editors/code/package.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ide/src/expand_macro.rs b/crates/ide/src/expand_macro.rs index 119a9c7c3f4..32207745677 100644 --- a/crates/ide/src/expand_macro.rs +++ b/crates/ide/src/expand_macro.rs @@ -14,12 +14,12 @@ pub struct ExpandedMacro { // Feature: Expand Macro Recursively // -// Shows the full macro expansion of the macro at current cursor. +// Shows the full macro expansion of the macro at the current caret position. // // |=== // | Editor | Action Name // -// | VS Code | **rust-analyzer: Expand macro recursively** +// | VS Code | **rust-analyzer: Expand macro recursively at caret** // |=== // // image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[] diff --git a/editors/code/package.json b/editors/code/package.json index ef9dec5f147..1497b61e67b 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -156,7 +156,7 @@ }, { "command": "rust-analyzer.expandMacro", - "title": "Expand macro recursively", + "title": "Expand macro recursively at caret", "category": "rust-analyzer" }, { |
