diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-04 13:40:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-04 13:40:13 +0100 |
commit | a7853fc04ba79a027f372eb2e8102009c31fec3b (patch) | |
tree | c6151f03969f695f81535db5f85e4ce624898a4d /modules/gdscript/language_server/gdscript_text_document.h | |
parent | 118aaa55f9577c9d26b0793968c1d81c03fc736f (diff) | |
parent | eb5861f9f11b9d02ef360d6ea82d73609032fec3 (diff) |
Merge pull request #34818 from GodotExplorer/gdscript-lsp-declaration
GDScript LSP: Implement goto declaration
Diffstat (limited to 'modules/gdscript/language_server/gdscript_text_document.h')
-rw-r--r-- | modules/gdscript/language_server/gdscript_text_document.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<const lsp::DocumentSymbol *> &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(); |