Closed
Description
Tested versions
Tested in v4.2.stable.official [46dc277], v4.2.1.stable.official [b09f793].
System information
Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 580 Series (Advanced Micro Devices, Inc.; 31.0.21905.1001) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
The self keyword are assumed to be classes by code completion (unlike before in v4.1 and previous versions), and only display constants, static functions, and new().
Edit: After further investigation by @Vilcrow, I jumped the gun on Singletons suffering the same issue as the self keyword. Apologies to @MitrB for stealing your thunder on this one.
Steps to reproduce
- In any project open in version 4.2, create or open a script.
- Type "self." and observe the code completion suggestions.
- You should see something like this: