From eb5861f9f11b9d02ef360d6ea82d73609032fec3 Mon Sep 17 00:00:00 2001 From: geequlim Date: Sat, 4 Jan 2020 20:02:26 +0800 Subject: GDScript LSP: Implement goto declaration --- 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 8a7c6fb98c..d93d828003 100644 --- a/modules/gdscript/language_server/gdscript_text_document.h +++ b/modules/gdscript/language_server/gdscript_text_document.h @@ -51,6 +51,7 @@ protected: Array native_member_completions; private: + Array find_symbols(const lsp::TextDocumentPositionParams &p_location, List &r_list); lsp::TextDocumentItem load_document_item(const Variant &p_param); void notify_client_show_symbol(const lsp::DocumentSymbol *symbol); @@ -65,6 +66,7 @@ public: Array colorPresentation(const Dictionary &p_params); Variant hover(const Dictionary &p_params); Array definition(const Dictionary &p_params); + Variant declaration(const Dictionary &p_params); void initialize(); -- cgit v1.2.3