Skip to content

Commit 567bda1

Browse files
committed
Make Expand macro command title more explicit
1 parent 11a87c9 commit 567bda1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

crates/ide/src/expand_macro.rs

Lines changed: 2 additions & 2 deletions
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[]

crates/load-cargo/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ impl ProjectFolders {
208208
let entry = {
209209
let mut dirs = vfs::loader::Directories::default();
210210
dirs.extensions.push("rs".into());
211+
dirs.extensions.push("toml".into());
211212
dirs.include.extend(root.include);
212213
dirs.exclude.extend(root.exclude);
213214
for excl in global_excludes {

editors/code/package.json

Lines changed: 1 addition & 1 deletion
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)