diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-08-05 00:18:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 00:18:31 +0200 |
commit | 73b1f5ac795b6c8d02931b30c84a5f94eb3752d7 (patch) | |
tree | 3e841059d92d73cc46191af359531ebb2bccc432 /modules/gdscript/language_server/gdscript_workspace.h | |
parent | 85186bc0c5f8ad135168018bb90ac0dd4e834500 (diff) | |
parent | 7c5335081cbdb6a3dbe2f24855f42d06e8a446fa (diff) | |
download | redot-engine-73b1f5ac795b6c8d02931b30c84a5f94eb3752d7.tar.gz |
Merge pull request #48615 from Razoric480/lsp-rename
Implement LSP didSave notification and rename request
Diffstat (limited to 'modules/gdscript/language_server/gdscript_workspace.h')
-rw-r--r-- | modules/gdscript/language_server/gdscript_workspace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/language_server/gdscript_workspace.h b/modules/gdscript/language_server/gdscript_workspace.h index 8b166a873c..9496677449 100644 --- a/modules/gdscript/language_server/gdscript_workspace.h +++ b/modules/gdscript/language_server/gdscript_workspace.h @@ -52,6 +52,8 @@ protected: const lsp::DocumentSymbol *get_native_symbol(const String &p_class, const String &p_member = "") const; const lsp::DocumentSymbol *get_script_symbol(const String &p_path) const; + const lsp::DocumentSymbol *get_parameter_symbol(const lsp::DocumentSymbol *p_parent, const String &symbol_identifier); + const lsp::DocumentSymbol *get_local_symbol(const ExtendGDScriptParser *p_parser, const String &p_symbol_identifier); void reload_all_workspace_scripts(); @@ -90,6 +92,7 @@ public: Dictionary generate_script_api(const String &p_path); Error resolve_signature(const lsp::TextDocumentPositionParams &p_doc_pos, lsp::SignatureHelp &r_signature); void did_delete_files(const Dictionary &p_params); + Dictionary rename(const lsp::TextDocumentPositionParams &p_doc_pos, const String &new_name); GDScriptWorkspace(); ~GDScriptWorkspace(); |