Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Access sorting #680

Open
NeeEoo opened this issue Jun 14, 2024 · 0 comments
Open

[Feature Request] Access sorting #680

NeeEoo opened this issue Jun 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NeeEoo
Copy link

NeeEoo commented Jun 14, 2024

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"]
    }
}
@AlexHaxe AlexHaxe added the enhancement New feature or request label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants