Explorar el Código

Merge pull request #68311 from RobertMasek/fix-go-to-definition

Fix functionality of Go To Definition for properties set/get
Rémi Verschelde hace 2 años
padre
commit
11ee6fcef0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      modules/gdscript/gdscript_editor.cpp

+ 2 - 1
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) {