Skip to content

Better gdscript formatting defaults (respect godot styleguide) #352

@geowarin

Description

@geowarin

Based on the styleguide for gdscript, I think formatter is a bit overzealous with indentations and line breaks.

I suggest disabling alignment by default:

Image

(by default everything is aligned, which is a very uncommon coding style)

And keep the minimum blank lines before func declarations to 1:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions