Skip to content

[Feature Request] Access sorting #680

@NeeEoo

Description

@NeeEoo

Describe the Feature

Sorts the access attributes, to a wanted order

(Optional) Sample of input

class Main {
	overload inline macro static public function main() {
		doSomething("");
	}
}

(Optional) Sample of desired output

class Main {
	public static macro inline overload function main() {
		doSomething("");
	}
}

Possible hxformat config format

{
    "restructure": {
        "accessOrder": ["public", "static", "macro", "inline", "overload"]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions