Skip to content

Annotation in inner class fails to parse causing broken formatting #195

@hannan-ahmad

Description

@hannan-ahmad

Hello there! I'm using the GDScript formatter with the Zed editor, and the formatter worked great for a few time, and did the auto-save perfectly without issues. However, soon, I began to notice it began formatting the code wrongly. Here's one video where I demonstrate the code formatter making the code buggy when I save my file in Zed.

Screencast_20260130_205252.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamThe issue (likely) can't be solved in this repository: a library needs a change

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions