Skip to content

Commit 1152f59

Browse files
committed
Auto merge of rust-lang#15870 - lnicola:expand-macro, r=lnicola
minor: Make "Expand macro" command title more explicit Closes [rust-lang#15856](rust-lang/rust-analyzer#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.
2 parents 5fcf528 + cace36c commit 1152f59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ide/src/expand_macro.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ pub struct ExpandedMacro {
1414

1515
// Feature: Expand Macro Recursively
1616
//
17-
// Shows the full macro expansion of the macro at current cursor.
17+
// Shows the full macro expansion of the macro at the current caret position.
1818
//
1919
// |===
2020
// | Editor | Action Name
2121
//
22-
// | VS Code | **rust-analyzer: Expand macro recursively**
22+
// | VS Code | **rust-analyzer: Expand macro recursively at caret**
2323
// |===
2424
//
2525
// image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[]

editors/code/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
},
157157
{
158158
"command": "rust-analyzer.expandMacro",
159-
"title": "Expand macro recursively",
159+
"title": "Expand macro recursively at caret",
160160
"category": "rust-analyzer"
161161
},
162162
{

0 commit comments

Comments
 (0)