Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: Rename rust-analyzer commands #17647

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

joshka
Copy link
Contributor

@joshka joshka commented Jul 20, 2024

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: #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

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: rust-lang#17644
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 20, 2024
@joshka
Copy link
Contributor Author

joshka commented Jul 20, 2024

ping @Veykril (due to existing context)

@Veykril
Copy link
Member

Veykril commented Jul 22, 2024

This is a breaking change, but that can't be helped imo, thanks!
@bors r+

@bors
Copy link
Contributor

bors commented Jul 22, 2024

📌 Commit 5b1a5a2 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 22, 2024

⌛ Testing commit 5b1a5a2 with merge c29bac1...

@bors
Copy link
Contributor

bors commented Jul 22, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing c29bac1 to master...

@bors bors merged commit c29bac1 into rust-lang:master Jul 22, 2024
11 checks passed
@joshka joshka deleted the jm/rename-commands branch July 22, 2024 08:59
@lnicola lnicola changed the title Rename rust-analyzer commands internal: Rename rust-analyzer commands Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename editor.action.triggerParameterHints and editor.action.rename command capabilities
4 participants