Skip to content

Commit

Permalink
Make Expand macro command title more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Nov 12, 2023
1 parent 11a87c9 commit cace36c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/ide/src/expand_macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
2 changes: 1 addition & 1 deletion editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
},
{
"command": "rust-analyzer.expandMacro",
"title": "Expand macro recursively",
"title": "Expand macro recursively at caret",
"category": "rust-analyzer"
},
{
Expand Down

0 comments on commit cace36c

Please sign in to comment.