godot icon indicating copy to clipboard operation
godot copied to clipboard

Variable autocomplete fails in class body

Open Kylemcarthur opened this issue 9 months ago • 0 comments

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.

Image

However, it works in every single other context I have tried. For example, self will make it populate just fine.

Image

It also appears fine within a function without using self.

Image

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

Kylemcarthur avatar Feb 23 '25 15:02 Kylemcarthur