about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorbruno-ortiz <brunortiz11@gmail.com>2022-02-25 21:37:55 -0300
committerBruno Ortiz <brunortiz11@gmail.com>2023-05-02 10:48:33 -0300
commit795a1cbe89bc2428937aec828963fe64a2c8d4d9 (patch)
tree0e07a8bfd2c0cef3e401bad15755a425528916cb /editors/code/package.json
parentcffc402c058f9d4d0675ed20bd920fa700c361ec (diff)
downloadrust-795a1cbe89bc2428937aec828963fe64a2c8d4d9.tar.gz
rust-795a1cbe89bc2428937aec828963fe64a2c8d4d9.zip
Creating rust dependencies tree view
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json18
1 files changed, 17 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index f36e34b6a1b..5e2a1c69e94 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -284,6 +284,14 @@
                 "command": "rust-analyzer.clearFlycheck",
                 "title": "Clear flycheck diagnostics",
                 "category": "rust-analyzer"
+            },
+            {
+                "command": "rust-analyzer.openFile",
+                "title": "Open File"
+            },
+            {
+                "command": "rust-analyzer.revealDependency",
+                "title": "Reveal File"
             }
         ],
         "keybindings": [
@@ -1956,6 +1964,14 @@
                 }
             ]
         },
+        "views": {
+            "explorer": [
+                {
+                    "id": "rustDependencies",
+                    "name": "Rust Dependencies"
+                }
+            ]
+        },
         "jsonValidation": [
             {
                 "fileMatch": "rust-project.json",
@@ -1963,4 +1979,4 @@
             }
         ]
     }
-}
+}
\ No newline at end of file