about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorAnatol Liu <axlui@anatols-mbp.lan>2020-11-12 17:48:07 -0800
committerAnatol Liu <axlui@anatols-mbp.lan>2020-11-12 17:48:07 -0800
commitb1b7727e046b4b25dcca034ee767a7fc3238409d (patch)
treec1942b7af1e73b139d2c62d1d81e8d6749dc8cd2 /editors/code/package.json
parent111cc34c8f181315f4dcfa85c616d54d47eff0b9 (diff)
downloadrust-b1b7727e046b4b25dcca034ee767a7fc3238409d.tar.gz
rust-b1b7727e046b4b25dcca034ee767a7fc3238409d.zip
add open Cargo.toml action
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 eccafccdd9e..b02c807734f 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -187,6 +187,11 @@
                 "command": "rust-analyzer.openDocs",
                 "title": "Open docs under cursor",
                 "category": "Rust Analyzer"
+            },
+            {
+                "command": "rust-analyzer.openCargoToml",
+                "title": "Open Cargo.toml",
+                "category": "Rust Analyzer"
             }
         ],
         "keybindings": [
@@ -1057,6 +1062,10 @@
                 {
                     "command": "rust-analyzer.openDocs",
                     "when": "inRustProject"
+                },
+                {
+                    "command": "rust-analyzer.openCargoToml",
+                    "when": "inRustProject"
                 }
             ]
         }