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/gdscript_editor.cpp | |
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/gdscript_editor.cpp')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 2a93bb620b..2e570d5a5b 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2795,6 +2795,7 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co if (base_type.class_type->has_member(p_symbol)) { r_result.type = ScriptLanguage::LookupResult::RESULT_SCRIPT_LOCATION; r_result.location = base_type.class_type->get_member(p_symbol).get_line(); + r_result.class_path = base_type.script_path; return OK; } base_type = base_type.class_type->base_type; |