aboutsummaryrefslogtreecommitdiff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorAnatol Liu <[email protected]>2020-11-13 01:48:07 +0000
committerAnatol Liu <[email protected]>2020-11-13 01:48:07 +0000
commitb1b7727e046b4b25dcca034ee767a7fc3238409d (patch)
treec1942b7af1e73b139d2c62d1d81e8d6749dc8cd2 /editors/code/package.json
parent111cc34c8f181315f4dcfa85c616d54d47eff0b9 (diff)
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 eccafccdd..b02c80773 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -187,6 +187,11 @@
187 "command": "rust-analyzer.openDocs", 187 "command": "rust-analyzer.openDocs",
188 "title": "Open docs under cursor", 188 "title": "Open docs under cursor",
189 "category": "Rust Analyzer" 189 "category": "Rust Analyzer"
190 },
191 {
192 "command": "rust-analyzer.openCargoToml",
193 "title": "Open Cargo.toml",
194 "category": "Rust Analyzer"
190 } 195 }
191 ], 196 ],
192 "keybindings": [ 197 "keybindings": [
@@ -1057,6 +1062,10 @@
1057 { 1062 {
1058 "command": "rust-analyzer.openDocs", 1063 "command": "rust-analyzer.openDocs",
1059 "when": "inRustProject" 1064 "when": "inRustProject"
1065 },
1066 {
1067 "command": "rust-analyzer.openCargoToml",
1068 "when": "inRustProject"
1060 } 1069 }
1061 ] 1070 ]
1062 } 1071 }