From 04e43899c0aeba8dcb72348591d9a46d3a8b5f8c Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 12 Jun 2023 15:54:36 -0700 Subject: [PATCH] Change action namespace to 'debug' for LSP log and syntax tree view --- crates/language_tools/src/lsp_log.rs | 2 +- crates/language_tools/src/syntax_tree_view.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/language_tools/src/lsp_log.rs b/crates/language_tools/src/lsp_log.rs index b9036fa6d2..04f47885c0 100644 --- a/crates/language_tools/src/lsp_log.rs +++ b/crates/language_tools/src/lsp_log.rs @@ -74,7 +74,7 @@ pub(crate) struct LogMenuItem { pub logs_selected: bool, } -actions!(log, [OpenLanguageServerLogs]); +actions!(debug, [OpenLanguageServerLogs]); pub fn init(cx: &mut AppContext) { let log_store = cx.add_model(|cx| LogStore::new(cx)); diff --git a/crates/language_tools/src/syntax_tree_view.rs b/crates/language_tools/src/syntax_tree_view.rs index 6a939a1543..075df76653 100644 --- a/crates/language_tools/src/syntax_tree_view.rs +++ b/crates/language_tools/src/syntax_tree_view.rs @@ -18,7 +18,7 @@ use workspace::{ ToolbarItemLocation, ToolbarItemView, Workspace, }; -actions!(log, [OpenSyntaxTreeView]); +actions!(debug, [OpenSyntaxTreeView]); pub fn init(cx: &mut AppContext) { cx.add_action(