Skip to content

Add CLI flag to disable modifier reordering#1373

Open
mkurz wants to merge 1 commit intogoogle:masterfrom
mkurz:cli-skip-reordering-modifiers
Open

Add CLI flag to disable modifier reordering#1373
mkurz wants to merge 1 commit intogoogle:masterfrom
mkurz:cli-skip-reordering-modifiers

Conversation

@mkurz
Copy link
Copy Markdown

@mkurz mkurz commented Apr 15, 2026

The library API already supports JavaFormatterOptions.reorderModifiers(false), but the CLI had no equivalent flag.

This change adds --skip-reordering-modifiers and wires it through the CLI into JavaFormatterOptions.

The default CLI behavior is unchanged.

The library API already supports `JavaFormatterOptions.reorderModifiers(false)`, but the CLI had no equivalent flag.

This change adds `--skip-reordering-modifiers` and wires it through the CLI into `JavaFormatterOptions`.

The default CLI behavior is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant