Skip to content

More specific class autocompletion in drag-n-drop nodes into editor #1046

Description

@Andresit1524

Godot version

4.7-stable

VS Code version

1.130

Godot Tools VS Code extension version

2.7.1

System information

Windows 11

Problem statement

When I drag and drop a node with script into the editor, the resulting variable type is the most generic one, ignoring the custom class in the script

Image

Proposed solution

Would be great to add an "use custom classname in drag and drop nodes" feature (either at the core or as a setting) to insert that classname if available.

Desired result for example above:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions