Skip to content

Formatter inserts an extra blank line before documentation comments #99

@minami110

Description

@minami110

version: 0.10.0

When formatting the following code:

extends Node2D
## A brief description of the class's role and functionality.
##
## The description of script

the formatter outputs:

extends Node2D

## A brief description of the class's role and functionality.
##
## The description of script

This is a very minor, non-functional style change.
However, according to the Godot documentation on GDScript documentation comments, the official examples show no blank line between the extends statement and the brief doc comment.

It might be preferable for the formatter to follow the official style and avoid adding this extra blank line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions