summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server/gdscript_text_document.h
diff options
context:
space:
mode:
authorgeequlim <geequlim@gmail.com>2019-10-04 20:53:40 +0800
committergeequlim <geequlim@gmail.com>2019-10-04 23:00:33 +0800
commite199488bc7f8c37e14ea414fd7986272b50f40ff (patch)
tree6a494e0ddc79297f97beb154c617941400e8ba83 /modules/gdscript/language_server/gdscript_text_document.h
parent39813939fc7248226ae698ee727d87d1901f6c3a (diff)
downloadredot-engine-e199488bc7f8c37e14ea414fd7986272b50f40ff.tar.gz
Add custom api `textDocument/nativeSymbol` to allow inspect native symbols from LSP clients
Diffstat (limited to 'modules/gdscript/language_server/gdscript_text_document.h')
-rw-r--r--modules/gdscript/language_server/gdscript_text_document.h2
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 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);