Allow to limit auto-completion results to the current document symbols (SpartanJ/ecode#482).

Added Typst LSP.
This commit is contained in:
Martín Lucas Golini
2025-05-31 00:48:36 -03:00
parent a64bcb558b
commit f580998b55
4 changed files with 150 additions and 37 deletions

View File

@@ -314,8 +314,8 @@ bool FormatterPlugin::onCreateContextMenu( UICodeEditor* editor, UIPopUpMenu* me
return false;
menu->addSeparator();
menu->add( editor->getUISceneNode()->i18n( "formatter_format_document", "Format Document" ),
nullptr, KeyBindings::keybindFormat( mKeyBindings["format-doc"] ) )
menu->add( i18n( "formatter_format_document", "Format Document" ), nullptr,
KeyBindings::keybindFormat( mKeyBindings["format-doc"] ) )
->setId( "format-doc" );
return false;