about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-03-25 20:54:24 +0100
committerLukas Wirth <lukastw97@gmail.com>2023-03-25 20:54:24 +0100
commit586db0790c2bdcf4bb083f828e7c6f83a8d52a42 (patch)
tree8cccba8867979344e9ca8f248c51085f1c1511e1 /editors/code/package.json
parentd1c798439654bded00fb7d92fae549ba8cd586f3 (diff)
downloadrust-586db0790c2bdcf4bb083f828e7c6f83a8d52a42.tar.gz
rust-586db0790c2bdcf4bb083f828e7c6f83a8d52a42.zip
minor: Add user facing command for reloading proc-macros in VSCode
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index c5eb08748bf..42cbc0e0d1f 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -200,6 +200,11 @@
                 "category": "rust-analyzer"
             },
             {
+                "command": "rust-analyzer.reloadProcMacros",
+                "title": "Reload proc macros and build scripts",
+                "category": "rust-analyzer"
+            },
+            {
                 "command": "rust-analyzer.addProject",
                 "title": "Add current file's crate to workspace",
                 "category": "rust-analyzer"