Skip to content

haxe-formatter v1.10.0

Compare
Choose a tag to compare
@AlexHaxe AlexHaxe released this 11 Apr 21:35
· 103 commits to master since this release
6d311ce
  • Added lineEnds.anonFunctionCurly, fixes #538 (#549)
  • Added detection for and skipping files with merge conflicts, fixes #558 (#559)
  • Added case pattern wrapping with wrapping.casePattern, fixes #359 (#566)
  • Added support for var @:meta name (#568)
  • Added new wrapping rule condition type exceedsMaxLineLength, fixes #572 (#573 + #574)
  • Fixed indentation of wrapped callbacks, fixes #470, #476, #540, #546 (#548)
  • Fixed indentation of array literals in calls, fixes #376 (#548)
  • Fixed indentation of array literals in assignments, fixes #512 (#548)
  • Fixed indentation of object literals, fixes #490 (#548)
  • Fixed handling of unary OpSub, fixes #547 (#548)
  • Fixed expressionIf detection in switch, fixes #552 (#553)
  • Fixed keep wrapping with multiline strings, fixes #561 (#564)
  • Fixed whitespace of block comment in array literals, fixes #441 (#564)
  • Fixed whitespace of conditionalised case (#564)
  • Fixed conditionalised class declaration with constraints, fixes #431 (#564)
  • Fixed conditionalised function type typedef, fixes #531 (#564)
  • Fixed arrow function in map literal, fixes #426 (#564)
  • Fixed whitespace in single argument arrow function, fixes #562 (#564)
  • Fixed whitespace of final in interfaces, fixes #563 (#564)
  • Fixed newline after macro class, fixes #565 (#566)
  • Fixed indentation of if-expression with metadata, fixes #567 (#568)
  • Fixed wrapping of object literals with OpBoolOr/OpBooland, fixes #569 (#570)
  • Fixed handling of parens in @:default(1) (#570)
  • Fixed range format when endpos is inside token, fixes vshaxe/vshaxe#425 (#570)
  • Changed keep-like behaviour of sameLine.expressionIf with same, fixes #304 (#548 + #550)