From bb9a00889ac9ce6f33adb34a583208e3843c3f92 Mon Sep 17 00:00:00 2001 From: jordi Date: Wed, 23 Mar 2022 12:54:41 -0500 Subject: Add hint for identifiers renamed since Godot 3 --- doc/classes/ProjectSettings.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 84df014fa4..304400bebe 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -423,6 +423,9 @@ When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when a function that is not a coroutine is called with await. + + When enabled, using a property, enum, or function that was renamed since Godot 3 will produce a hint if an error occurs. + When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when calling a function without using its return value (by assigning it to a variable or using it as a function argument). Such return values are sometimes used to denote possible errors using the [enum Error] enum. -- cgit v1.2.3