Description
Tested versions
- Reproducible in: 4.3.stable, 4.4.beta3
System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 32.0.15.6603) - Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz (4 Threads), Godot v4.4.beta3 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 32.0.15.6603) - Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz (4 threads)
Issue description
member_variable_color doesn't work without using 'self' keyword to access member variable. I'm not sure if this is the expected behavior.
Edit:
The build-in properties highlighting can work well, e.g. 'position'.
The problem with using 'self' keyword is that it cannot determine whether the variable is declared, even if you spelled it incorrectly. This makes it impossible for users to have both highlighting and error checking at compile time.
Steps to reproduce
Just use the two ways(use 'self' or not use) to access the member variables.
Minimal reproduction project (MRP)
Easy to reproduce, no need MRP.
Metadata
Metadata
Assignees
Type
Projects
Status