aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-28 12:01:56 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-28 12:01:56 +0000
commit3432c4366f578b4f0a9a6e0384292d72e43ebf03 (patch)
treeb589fcf2ee7d816f3f18bd83b8e88738dcb6fd4f /crates/ra_lsp_server/src/main_loop
parent7abe1f422c1a1230ad5b39474101806c438ef452 (diff)
parentd1a67c1174abfb99b67b8db89c9f27c741e85057 (diff)
Merge #695
695: align command naming r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index ace3da020..9478ebfb8 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -581,7 +581,7 @@ pub fn handle_code_action(
581 let edit = source_edit.try_conv_with(&world)?; 581 let edit = source_edit.try_conv_with(&world)?;
582 let cmd = Command { 582 let cmd = Command {
583 title, 583 title,
584 command: "ra-lsp.applySourceChange".to_string(), 584 command: "rust-analyzer.applySourceChange".to_string(),
585 arguments: Some(vec![to_value(edit).unwrap()]), 585 arguments: Some(vec![to_value(edit).unwrap()]),
586 }; 586 };
587 res.push(cmd); 587 res.push(cmd);
@@ -623,7 +623,7 @@ pub fn handle_code_lens(
623 range, 623 range,
624 command: Some(Command { 624 command: Some(Command {
625 title: title.into(), 625 title: title.into(),
626 command: "ra-lsp.run-single".into(), 626 command: "rust-analyzer.runSingle".into(),
627 arguments: Some(vec![to_value(r).unwrap()]), 627 arguments: Some(vec![to_value(r).unwrap()]),
628 }), 628 }),
629 data: None, 629 data: None,