Skip to content

haxe-formatter v1.5.0

Compare
Choose a tag to compare
@AlexHaxe AlexHaxe released this 04 Mar 17:07
· 326 commits to master since this release
5cc6aad
  • Added wrapping.opAddSubChain (#370)
  • Added wrapping.metadataCallParameter (#370)
  • Added emptyLines.macroClassEmptyLines, fixes #377 (#383)
  • Added emptyLines.lineCommentsBetweenTypes and emptyLines.lineCommentsBetweenTypes to separate line comments from types and functions (#387 + #389)
  • Added whitespace.addLineCommentSpace to ensure a space after // (#388)
  • Fixed type parameter constraint with structure type, fixes #337 (#349)
  • Fixed wrapping of OpBool chains with null (#349)
  • Fixed line comments after typedefs, fixes #331 (#349)
  • Fixed line comments after #end, fixes #344 (#349)
  • Fixed comments before catch, fixes #339 (#349)
  • Fixed ternary with object literal, fixes #330 (#349)
  • Fixed optional function parameters in conditionals, fixes #345 (#349)
  • Fixed whitespace for ternary and unary operators, fixes #348 (#349)
  • Fixed if body starting with metadata, fixes #333 (#350)
  • Fixed else body starting with POpen, fixes #329 (#350)
  • Fixed missing space after conditional, fixes #327 + #335 (#350)
  • Fixed braceless if body with conditionals, fixes #328 (#351)
  • Fixed complex conditional typedef, fixes #336 (#351)
  • Fixed parameter wrapping with multiline string, fixes #320 (#351)
  • Fixed indentation of untyped assignment, fixes #326 (#352)
  • Fixed indentation of anon function call, fixes #315 (#352)
  • Fixed keep wrapping option to respect both beforeLast and afterLast wrapping location (#370)
  • Fixed abstract with comments, fixes #363, fixes #364 (#370)
  • Fixed handling of @:using, @:import and @:package, fixes #378 (#379)
  • Fixed null pointer exception when handling incomplete metadata, fixes #380 (#381)
  • Fixed left curly placement for anon types as return values, fixes #358, fixes #369 (#387)
  • Fixed empty lines after metadata in macro classes, fixes #384 (#387)
  • Fixed line ends after opadd chain as function body, fixes #376 (#387)