Skip to content

haxe-formatter v1.17.0

Latest
Compare
Choose a tag to compare
@AlexHaxe AlexHaxe released this 06 Oct 16:40
  • Breaking Change replaced whitespace.openingBracketPolicy and whitespace.closingBracketPolicy settings with whitespace.bracketConfig, fixes #592
  • Added wrap condition types EqualItemLengths, AllItemLengthsLargerThan and AllItemLengthsLessThan
  • Breaking Change Fixed wrap condition type AnyItemLengthLessThan - use AllItemLengthsLessThan for old behaviour
  • Fixed modifiers with complex conditionals, fixes #332
  • Fixed unexpected array wrapping behavior, fixes #340
  • Fixed conditionalized class declaration with constraints, fixes #431
  • Fixed empty classes with conditional metadata
  • Fixed class fields with conditional function signatures
  • Fixed abstract enum abstracts with conditionals
  • Fixed map wrapping rules to avoid fill line wrapping
  • Fixed curly with comments, fixes #445
  • Fixed array literals in ternarys
  • Fixed expression try…catch, fixes #509
  • Fixed long array access wrapping
  • Fixed expression try…catch for allman curlies
  • Fixed conditionalized chained function call, fixes #375
  • Fixed sameLine.functionBody with metadata before body, fixes #681
  • Fixed nested conditional types