about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
diff options
context:
space:
mode:
authorJosh McKinney <joshka@users.noreply.github.com>2024-07-20 01:09:05 -0700
committerJosh McKinney <joshka@users.noreply.github.com>2024-07-20 01:11:14 -0700
commit539df3fca9d934399b5faec49de5dadc102a49e5 (patch)
treeb443336175ae5366382f552ddbeaa9780cea6c14 /src/tools/rust-analyzer/editors/code
parentaa52c5d9639ec7bff59576b4e9b466ca215eaed7 (diff)
downloadrust-539df3fca9d934399b5faec49de5dadc102a49e5.tar.gz
rust-539df3fca9d934399b5faec49de5dadc102a49e5.zip
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
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
-rw-r--r--src/tools/rust-analyzer/editors/code/src/client.ts4
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,