diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-18 16:26:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-18 16:26:42 +0200 |
commit | 11ee6fcef06beea2a2ff2214003e71a45875a695 (patch) | |
tree | 66aafb2ceade3360275311f21ff4ec74cff071a1 /modules/gdscript | |
parent | a83eb16fba5bb3da086b41cbd79e6f95b09eb8ee (diff) | |
parent | 79234d8916733a982bb398631b153c63719997ce (diff) | |
download | redot-engine-11ee6fcef06beea2a2ff2214003e71a45875a695.tar.gz |
Merge pull request #68311 from RobertMasek/fix-go-to-definition
Fix functionality of Go To Definition for properties set/get
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 07122ed594..f3b1266bda 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -3403,7 +3403,8 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co } case GDScriptParser::COMPLETION_ASSIGN: case GDScriptParser::COMPLETION_CALL_ARGUMENTS: - case GDScriptParser::COMPLETION_IDENTIFIER: { + case GDScriptParser::COMPLETION_IDENTIFIER: + case GDScriptParser::COMPLETION_PROPERTY_METHOD: { GDScriptParser::DataType base_type; if (context.current_class) { if (context.type != GDScriptParser::COMPLETION_SUPER_METHOD) { |