This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/royale-docs.git
commit 4a8cc771a04e69267147533111f50d25d00f9840 Author: Josh Tynjala <[email protected]> AuthorDate: Thu Jan 9 12:45:23 2025 -0800 formatter-options: added insert-new-line-else --- formatter/formatter-options.md | 1 + 1 file changed, 1 insertion(+) diff --git a/formatter/formatter-options.md b/formatter/formatter-options.md index f653820..6f28172 100644 --- a/formatter/formatter-options.md +++ b/formatter/formatter-options.md @@ -31,6 +31,7 @@ The [**asformat**](formatter) tool included with [Apache Royale](https://royale. - `-help` `[keyword]` `[...]` -- Displays formatter usage instructions. - `-ignore-parsing-problems` -- If enabled, parsing errors will be ignored. This may result in undesirable effects on formatting. Default: `false` - `-insert-final-new-line` -- Determines if the file must have at least one final new line. Default: `false` +- `-insert-new-line-else` -- Determines if a new line is inserted before `else` when open braces are on new lines. Default: `true` - `-insert-space-anonymous-function-keyword` -- Determines if a space should appear between `function` and the opening parenthesis. Default: `false` - `-insert-space-binary-operators` -- Determines if spaces should appear before and after binary operators, such as `+`, `==`, and `&&`. Default: `true` - `-insert-space-comma-delimiter` -- Determines if a space should be inserted after a comma when used as a delimter (such as an object and array literals). Default: `true`
