From e199488bc7f8c37e14ea414fd7986272b50f40ff Mon Sep 17 00:00:00 2001 From: geequlim Date: Fri, 4 Oct 2019 20:53:40 +0800 Subject: Add custom api `textDocument/nativeSymbol` to allow inspect native symbols from LSP clients --- modules/gdscript/language_server/gdscript_text_document.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/gdscript/language_server/gdscript_text_document.h') diff --git a/modules/gdscript/language_server/gdscript_text_document.h b/modules/gdscript/language_server/gdscript_text_document.h index 0b8103f175..235e2c3f6e 100644 --- a/modules/gdscript/language_server/gdscript_text_document.h +++ b/modules/gdscript/language_server/gdscript_text_document.h @@ -52,8 +52,10 @@ protected: private: lsp::TextDocumentItem load_document_item(const Variant &p_param); + void notify_client_show_symbol(const lsp::DocumentSymbol *symbol); public: + Variant nativeSymbol(const Dictionary &p_params); Array documentSymbol(const Dictionary &p_params); Array completion(const Dictionary &p_params); Dictionary resolve(const Dictionary &p_params); -- cgit v1.2.3