From 804e29402abbaea9d4bb6c47dab8414cda2b0051 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 29 Sep 2018 21:59:34 +0300 Subject: [PATCH] fix code actions --- crates/ra_lsp_server/src/main_loop/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 51061543c29..79a54183e03 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs @@ -418,7 +418,7 @@ pub fn handle_code_action( let edit = source_edit.try_conv_with(&world)?; let cmd = Command { title, - command: "libsyntax-rust.applySourceChange".to_string(), + command: "ra-lsp.applySourceChange".to_string(), arguments: Some(vec![to_value(edit).unwrap()]), }; res.push(cmd);