Skip to content

haxe-formatter v1.2.0

Compare
Choose a tag to compare
@AlexHaxe AlexHaxe released this 12 Nov 12:34
· 382 commits to master since this release
288a385
  • Breakin Change replaced emptyLines.beforeUsing and emptyLines.afterImportsUsing settings with emptyLines.importAndUsing #267
  • Added wrapping.opBoolChain for wrapping || and && chains #248
  • Added line count statistic for CLI #249
  • Added alignedDecrease option for indentation.conditionalPolicy, fixes #252 (#253)
  • Added indentation.indentObjectLiteral to control indent of object literals, fixes #258 (#266)
  • Added sameLine.returnBody option, fixes #257 (#266)
  • Added emptyLines.importAndUsing for more control over empty lines between imports #267 + #268
  • Added emptyLines.beforePackage to add empty lines before package declaration #267
  • Added emptyLines.betweenSingleLineTypes for empty lines between single line types, fixes #255 (#269)
  • Fixed wrapping of function calls, fixes #169 (#248)
  • Fixed conditional handling in multi-line object literals, fixes #182 and #211 (#248)
  • Fixed indentation and wrapping of OpBool chain, fixes #187 (#248)
  • Fixed sameline options for sameLine.caseBody and sameLine.expressionCase #250
  • Fixed conditional indentation with indentation.conditionalPolicy set to alignedIncrease #253
  • Fixed truncation of interface conditionals extends, fixes #259 (#260)
  • Fixed multiline string interpolation, fixes #261, fixes #203 (#264 + #265)
  • Fixed send error messages to stderr, fixes #262 (#265)
  • Fixed metadata whitespace, fixes #263 (#265)
  • Fixed indentation of wrapped anon function, fixes #256 (#266)
  • Fixed empty lines of doc comments inside conditionals, fixes #188 (#270)
  • Fixed sameLine.expression* handling of Binop and Arrow, fixes #271 + #272 (#274)
  • Fixed type hints for arrow function parameters in calls, fixes #273 (#274)
  • Changed sameLine.expressionCase to keep #250
  • Refactored call and parameter wrapping #247
  • Refactored method chain wrapping #247