Skip to content

Completion with nested classes/subclasses doesn't work #104538

@sockeye-d

Description

@sockeye-d

Tested versions

  • Reproducible in v4.4.stable.official [4c311cb]

System information

Godot v4.4.stable - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3080 (NVIDIA; 32.0.15.6636) - 12th Gen Intel(R) Core(TM) i5-12400F (12 threads)

Issue description

When completing types, subclasses aren't included in the options

Steps to reproduce

Create a nested class:

class_name MyClass

class MySubClass:
    pass

then attempt to write MyClass.MySubClass as a return type or variable type and note the lack of completion options:

Image

However, anywhere other than where a type needs specifying it works fine:

Image

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions