diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 86683eb73..05c67d822 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -72,61 +72,61 @@ | |||
72 | ], | 72 | ], |
73 | "commands": [ | 73 | "commands": [ |
74 | { | 74 | { |
75 | "command": "ra-lsp.syntaxTree", | 75 | "command": "rust-analyzer.syntaxTree", |
76 | "title": "Show Rust syntax tree" | 76 | "title": "rust-analyzer: syntax tree" |
77 | }, | 77 | }, |
78 | { | 78 | { |
79 | "command": "ra-lsp.extendSelection", | 79 | "command": "rust-analyzer.extendSelection", |
80 | "title": "Rust Extend Selection" | 80 | "title": "rust-analyzer: extend selection" |
81 | }, | 81 | }, |
82 | { | 82 | { |
83 | "command": "ra-lsp.matchingBrace", | 83 | "command": "rust-analyzer.matchingBrace", |
84 | "title": "Rust Matching Brace" | 84 | "title": "rust-analyzer: matching brace" |
85 | }, | 85 | }, |
86 | { | 86 | { |
87 | "command": "ra-lsp.parentModule", | 87 | "command": "rust-analyzer.parentModule", |
88 | "title": "Rust Parent Module" | 88 | "title": "rust-analyzer: parent module" |
89 | }, | 89 | }, |
90 | { | 90 | { |
91 | "command": "ra-lsp.joinLines", | 91 | "command": "rust-analyzer.joinLines", |
92 | "title": "Rust Join Lines" | 92 | "title": "rust-analyzer: join lines" |
93 | }, | 93 | }, |
94 | { | 94 | { |
95 | "command": "ra-lsp.run", | 95 | "command": "rust-analyzer.run", |
96 | "title": "Rust Run" | 96 | "title": "rust-analyzer: run" |
97 | }, | 97 | }, |
98 | { | 98 | { |
99 | "command": "ra-lsp.analyzerStatus", | 99 | "command": "rust-analyzer.analyzerStatus", |
100 | "title": "Status of rust-analyzer (debug)" | 100 | "title": "rust-analyzer: status" |
101 | }, | 101 | }, |
102 | { | 102 | { |
103 | "command": "ra-lsp.collectGarbage", | 103 | "command": "rust-analyzer.collectGarbage", |
104 | "title": "Run rust-analyzer's GC" | 104 | "title": "rust-analyzer: run gc" |
105 | } | 105 | } |
106 | ], | 106 | ], |
107 | "keybindings": [ | 107 | "keybindings": [ |
108 | { | 108 | { |
109 | "command": "ra-lsp.parentModule", | 109 | "command": "rust-analyzer.parentModule", |
110 | "key": "ctrl+u", | 110 | "key": "ctrl+u", |
111 | "when": "editorTextFocus && editorLangId == rust" | 111 | "when": "editorTextFocus && editorLangId == rust" |
112 | }, | 112 | }, |
113 | { | 113 | { |
114 | "command": "ra-lsp.matchingBrace", | 114 | "command": "rust-analyzer.matchingBrace", |
115 | "key": "ctrl+shift+m", | 115 | "key": "ctrl+shift+m", |
116 | "when": "editorTextFocus && editorLangId == rust" | 116 | "when": "editorTextFocus && editorLangId == rust" |
117 | }, | 117 | }, |
118 | { | 118 | { |
119 | "command": "ra-lsp.extendSelection", | 119 | "command": "rust-analyzer.extendSelection", |
120 | "key": "shift+alt+right", | 120 | "key": "shift+alt+right", |
121 | "when": "editorTextFocus && editorLangId == rust" | 121 | "when": "editorTextFocus && editorLangId == rust" |
122 | }, | 122 | }, |
123 | { | 123 | { |
124 | "command": "ra-lsp.joinLines", | 124 | "command": "rust-analyzer.joinLines", |
125 | "key": "ctrl+shift+j", | 125 | "key": "ctrl+shift+j", |
126 | "when": "editorTextFocus && editorLangId == rust" | 126 | "when": "editorTextFocus && editorLangId == rust" |
127 | }, | 127 | }, |
128 | { | 128 | { |
129 | "command": "ra-lsp.run", | 129 | "command": "rust-analyzer.run", |
130 | "key": "ctrl+r", | 130 | "key": "ctrl+r", |
131 | "when": "editorTextFocus && editorLangId == rust" | 131 | "when": "editorTextFocus && editorLangId == rust" |
132 | } | 132 | } |
@@ -135,19 +135,19 @@ | |||
135 | "type": "object", | 135 | "type": "object", |
136 | "title": "Rust Analyzer", | 136 | "title": "Rust Analyzer", |
137 | "properties": { | 137 | "properties": { |
138 | "ra-lsp.highlightingOn": { | 138 | "rust-analyzer.highlightingOn": { |
139 | "type": "boolean", | 139 | "type": "boolean", |
140 | "default": true, | 140 | "default": true, |
141 | "description": "Highlight Rust code (overrides built-in syntax highlighting)" | 141 | "description": "Highlight Rust code (overrides built-in syntax highlighting)" |
142 | }, | 142 | }, |
143 | "ra-lsp.raLspServerPath": { | 143 | "rust-analyzer.raLspServerPath": { |
144 | "type": [ | 144 | "type": [ |
145 | "string" | 145 | "string" |
146 | ], | 146 | ], |
147 | "default": "ra_lsp_server", | 147 | "default": "ra_lsp_server", |
148 | "description": "Path to ra_lsp_server executable" | 148 | "description": "Path to ra_lsp_server executable" |
149 | }, | 149 | }, |
150 | "ra-lsp.trace.server": { | 150 | "rust-analyzer.trace.server": { |
151 | "type": "string", | 151 | "type": "string", |
152 | "scope": "window", | 152 | "scope": "window", |
153 | "enum": [ | 153 | "enum": [ |
@@ -156,7 +156,7 @@ | |||
156 | "verbose" | 156 | "verbose" |
157 | ], | 157 | ], |
158 | "default": "off", | 158 | "default": "off", |
159 | "description": "Trace requests to the ra-lsp server" | 159 | "description": "Trace requests to the ra_lsp_server" |
160 | } | 160 | } |
161 | } | 161 | } |
162 | }, | 162 | }, |