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.
This commit is contained in:
bors 2023-11-12 13:48:43 +00:00
commit 1152f593b3
2 changed files with 3 additions and 3 deletions

View file

@ -14,12 +14,12 @@ pub struct ExpandedMacro {
// Feature: Expand Macro Recursively // 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 // | 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[] // image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[]

View file

@ -156,7 +156,7 @@
}, },
{ {
"command": "rust-analyzer.expandMacro", "command": "rust-analyzer.expandMacro",
"title": "Expand macro recursively", "title": "Expand macro recursively at caret",
"category": "rust-analyzer" "category": "rust-analyzer"
}, },
{ {