Fix Node::removeActionsByTag and Node::getActionsByTag using the wrong tag type (and in consequence not removing anything whe requested, generating crashes on some cases). Improved LSP restart stability, although I still can crash it on some rare cases, haven't found the problem yet.

This commit is contained in:
Martín Lucas Golini
2025-06-22 20:47:20 -03:00
parent 5cc94842e1
commit 3170fd79ff
6 changed files with 14 additions and 8 deletions

View File

@@ -1737,9 +1737,8 @@ bool LSPClientPlugin::onCreateContextMenu( UICodeEditor* editor, UIPopUpMenu* me
addFn( "lsp-switch-header-source",
i18n( "lsp_switch_header_source", "Switch Header/Source" ), "filetype-hpp" );
String restartStr( i18n( "lsp_restart_lsp_server", "Restart LSP Server" ) + " (" +
server->getDefinition().name + ")" );
addFn( "lsp-plugin-restart", restartStr, "refresh" );
addFn( "lsp-plugin-restart", i18n( "lsp_restart_lsp_server", "Restart LSP Server" ),
"refresh" );
#ifdef EE_DEBUG
if ( server->getDefinition().name == "clangd" )