about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorAdenine <adenine.dev@gmail.com>2023-06-18 20:31:46 -0400
committerAdenine <adenine.dev@gmail.com>2023-07-07 23:09:41 -0400
commitcfa15d49aaff173a055617a347eda6f6caa9e915 (patch)
tree0859cd68f65a525ead599b6b6e5210fde05953eb /editors/code/package.json
parentdb0add1ce92af58a92b2a80990044ae21713ae29 (diff)
downloadrust-cfa15d49aaff173a055617a347eda6f6caa9e915.tar.gz
rust-cfa15d49aaff173a055617a347eda6f6caa9e915.zip
implement first pass of memory layout viewer
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 1a1d76c6991..cd8b40e3557 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -284,6 +284,11 @@
                 "command": "rust-analyzer.revealDependency",
                 "title": "Reveal File",
                 "category": "rust-analyzer"
+            },
+            {
+                "command": "rust-analyzer.viewMemoryLayout",
+                "title": "View Memory Layout",
+                "category": "rust-analyzer"
             }
         ],
         "keybindings": [
@@ -2067,6 +2072,10 @@
                 {
                     "command": "rust-analyzer.openCargoToml",
                     "when": "inRustProject"
+                },
+                {
+                    "command": "rust-analyzer.viewMemoryLayout",
+                    "when": "inRustProject"
                 }
             ],
             "editor/context": [