mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
align command naming
This commit is contained in:
parent
7abe1f422c
commit
d1a67c1174
18 changed files with 94 additions and 77 deletions
|
@ -581,7 +581,7 @@ pub fn handle_code_action(
|
|||
let edit = source_edit.try_conv_with(&world)?;
|
||||
let cmd = Command {
|
||||
title,
|
||||
command: "ra-lsp.applySourceChange".to_string(),
|
||||
command: "rust-analyzer.applySourceChange".to_string(),
|
||||
arguments: Some(vec![to_value(edit).unwrap()]),
|
||||
};
|
||||
res.push(cmd);
|
||||
|
@ -623,7 +623,7 @@ pub fn handle_code_lens(
|
|||
range,
|
||||
command: Some(Command {
|
||||
title: title.into(),
|
||||
command: "ra-lsp.run-single".into(),
|
||||
command: "rust-analyzer.runSingle".into(),
|
||||
arguments: Some(vec![to_value(r).unwrap()]),
|
||||
}),
|
||||
data: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue