Skip to content

Two-lined export annotation are always placed after one-lined annotations #347

Description

@blabdouze

Given :

@export
var test_first: int

@export var test_second: int

It will be reformated as :

@export var test_second: int

@export
var test_first: int

Is this intended behaviour ?

For some cases when we have some setter/ long annotation we prefer to have this formatting :

@export_range(1, 30, 1, "prefer_slider") 
var min_tiles: int = 3:
	set = _set_min_tiles

I don't think the order of export should be modified by the formater.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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