diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-14 14:27:58 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-14 14:27:58 +0000 |
commit | e406f2bed66cbe13ef6441a3fb84791a3ca09299 (patch) | |
tree | 0c983c52ab17aaefdf84682f1a40e383b596163b /crates/ra_lsp_server/src/main_loop | |
parent | e5cb836448d818275275d73dedbddfdac77abe2e (diff) | |
parent | 325912f01ea11ae2e16e01ffaa7ff71329ff1702 (diff) |
Merge #2839
2839: Tweak add_custom_impl r=matklad a=kjeremy
Display a nicer label and categorize
Co-authored-by: Jeremy Kolb <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index a592f0a12..d5a8bbe4d 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -710,6 +710,7 @@ pub fn handle_code_action( | |||
710 | title: command.title.clone(), | 710 | title: command.title.clone(), |
711 | kind: match assist.id { | 711 | kind: match assist.id { |
712 | AssistId("introduce_variable") => Some("refactor.extract.variable".to_string()), | 712 | AssistId("introduce_variable") => Some("refactor.extract.variable".to_string()), |
713 | AssistId("add_custom_impl") => Some("refactor.rewrite.add_custom_impl".to_string()), | ||
713 | _ => None, | 714 | _ => None, |
714 | }, | 715 | }, |
715 | diagnostics: None, | 716 | diagnostics: None, |