Skip to content

Ensure that class_name / extends respect the official style guide #89

@TranquilMarmot

Description

@TranquilMarmot

I try and follow the GDScript style-guide as defined in the docs:
https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_styleguide.html

This formatter currently transforms:

class_name StateMachine
extends Node

Into:

class_name StateMachine extends Node

I hate to ask to add more config because it's nice to have an "opinionated" code formatter, but could this be a config value? Or should this formatter align with the official style-guide more closely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions