godot
godot copied to clipboard
Variable autocomplete fails in class body
Tested versions
v4.3.stable.official [77dcf97d8]
System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6636) - AMD Ryzen 5 7600X 6-Core Processor (12 Threads)
Issue description
Autocomplete for variables within the class body fails, as seen here.
However, it works in every single other context I have tried. For example, self will make it populate just fine.
It also appears fine within a function without using self.
Steps to reproduce
Make a new script in any project. Declare a variable in the class body. Type that variable name in another variable after it within the class body, and see there's no autocomplete.
Minimal reproduction project (MRP)
N/A