diff options
| author | bors <bors@rust-lang.org> | 2024-07-22 08:10:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-22 08:10:03 +0000 |
| commit | 0f45488d096d04fe2b53c2c6b7cb05d89a6cf0aa (patch) | |
| tree | 9d7cd0bccb06acd0d3be5d9eb6ca5606952c9ed2 /src/tools/rust-analyzer/editors/code | |
| parent | 377192faab8a730e8e8a1170fd00f6ce9290dc76 (diff) | |
| parent | 539df3fca9d934399b5faec49de5dadc102a49e5 (diff) | |
Auto merge of #17647 - joshka:jm/rename-commands, r=Veykril
Rename rust-analyzer commands The commands `editor.action.triggerParameterHints` and `editor.action.rename` are now renamed to `rust-analyzer.triggerParameterHints` and `rust-analyzer.rename` This change helps make it clear that these commands are specific to rust-analyzer and not part of the default set of commands provided by VSCode. Fixes: https://github.com/rust-lang/rust-analyzer/issues/17644 Note: This seems like it will be a breaking change for any RA client that previously reacted to `editor.action.triggerParameterHints` - naive search: https://github.com/search?q=editor.action.triggerParameterHints+AND+%28NOT+is%3Afork%29+rust-analyzer&type=code
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/src/client.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/editors/code/src/client.ts b/src/tools/rust-analyzer/editors/code/src/client.ts index 1599f4b13ae..916e266cfd4 100644 --- a/src/tools/rust-analyzer/editors/code/src/client.ts +++ b/src/tools/rust-analyzer/editors/code/src/client.ts @@ -347,8 +347,8 @@ class ExperimentalFeatures implements lc.StaticFeature { "rust-analyzer.debugSingle", "rust-analyzer.showReferences", "rust-analyzer.gotoLocation", - "editor.action.triggerParameterHints", - "editor.action.rename", + "rust-analyzer.triggerParameterHints", + "rust-analyzer.rename", ], }, ...capabilities.experimental, |
