Open
Description
Tested versions
godot 4.5 beta1
System information
win10
Issue description
class_name MyClass
class InnerClass:
pass
Autocompletion works in var create but not work in type check
# work: when i input 'MyClass.' will appear a autocomlation window to select 'InnerClass'
var a = MyClass.InnerClass
# not work: when i input 'MyClass.' there only appear 'ConnectFlags' in autocomlation window.
if a is MyClass.InnerClass
# also not work
func test() -> MyClass.InnerClass
# also not work
var my_class : MyClass.InnerClass
It seems that the code involving type checking cannot automatically complete the inner type or other const value
Steps to reproduce
2025-06-27.204236.mp4
Minimal reproduction project (MRP)
...
Metadata
Metadata
Assignees
Type
Projects
Status
For team assessment
Status
For team assessment