implicit.ly

Scala software, hot off the presses

scalariform 0.1.1

  • FIX: Leave PCDATA whitespace untouched inside a single-line XML tag (issue #27)
  • FIX: indent for indentLocalDefs on first line of function block (issue #24)
  • ParenExpr now allows newline after opening paren (issue #18)
  • FIX: spurious indentation in staggered dot expressions (issue #25)
  • Preserve newline before annotations (issue #28)
  • Add option to support CompactControlReadability style (issue #22) (thanks to by Owein Reese (https://github.com/wheaties) and Rose Toomey (https://github.com/rktoomey) for the patch
  • Preserve newline before anonymous function argument (issue #21)
  • Allow one-line anonymous function blocks
  • Fix parser crash on argument-less constructor annotations
  • Add PlaceScaladocAsterisksBeneathSecondAsterisk preference to conform to recommended Scaladoc style (issue #30)
  • FIX: Removal of space causing token merge in varargs and unary ops (http://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1000601)
  • Switch to sbt 0.11 build

Scalariform is a source code formatter for Scala.

scalariform 0.1.0

  • Add forgiving mode to lexer
  • Add SpaceInsideParentheses and SpaceInsideBrackets preferences (issue #14)
  • Ability to import/export preferences as properties; --preferencesFile=<path> command-line option
  • FIX: incorrect indent behaviour for finally block after a catch block
  • Add SpacesWithinPatternBinders preference (issue #15)
  • Add MultilineScaladocCommentsStartOnFirstLine preference (issue #16)
  • FIX: infinite loop in lexer on malformed XML processing instructions / unparsed
  • Add IndentWithTabs preference (issue #17)
  • FIX: Fix incorrectly parsed command line argument (issue #20)
  • Update for 2.9.0

Scalariform is a source code formatter for Scala.

Filed under  //   Scala 2.8.0   Scala 2.8.1   Scala 2.9.0   org.scalariform   scalariform  

scalariform 0.0.9

  • Add support for AST selection
  • Improve basic formatting of Scaladoc comments
  • Improve stairway indenting of argument lists, infix exprs
  • Add preference PreserveDanglingCloseParenthesis to keep newlines before a dangling right paren (issue #6)
  • Allow single-expression case clauses to be formatted adjacent to the case arrow (issue #7)
  • Improve formatting after a single-line comment (issue #8)
  • Allow missing param types for -Yinfer-argument-types (issue #9)
  • FIX: erroneous spaces after type (issue #10)
  • Add --forceOutput command-line argument to pass input through untouched if there is a parse error (#issue 11/12)
  • Pull out separate, non-System.exit()ing process method separate to main() (issue #13)

Scalariform is a source code formatter for Scala.

Filed under  //   Scala 2.8.0   Scala 2.8.1   Scala 2.9.0-SNAPSHOT   org.scalariform   scalariform  

scalariform 0.0.8

  • FIX: Correctly handle use of +/- as type parameters in defs
  • Add Maven formatter plugin (contributed by Adam Crain)
  • FIX: Bug with lexing """ at end of text
  • Add AlignSingleLineCaseStatements preferences to align the arrows of consecutive single-line case statements
  • Add IndentLocalDefs preference to indent local methods an extra level
  • Track parser changes in Scala 2.9:

    • Type variables in a constructor pattern match
    • Generalised catch clause
    • Mirror code reorganisation of scala.tools.nsc.ast.parser.Parsers

Scalariform is a source code formatter for Scala.

Filed under  //   Scala 2.8.0   Scala 2.8.1   Scala 2.9.0-SNAPSHOT   org.scalariform   scalariform  

scalariform 0.0.7

  • Rewrite parser; formatter is now ~60% faster
  • Add IndentPackageBlocks formatting preference
  • Allow newline before self type declaration
  • FIX: avoid abutting @ and an operator, otherwise it merges into a single identifer
  • FIX: formatting for newline between private[foo] and trait/class/def etc
  • Update parser to match changes from Scala trac #3672 (types on implicit parameters in function expressions)
  • FIX: avoid hash and operator merging (e.g. b[c# ::[d]])
  • Tweaks to else clause formatting

Scalariform is a source code formatter for Scala.

Filed under  //   Scala 2.8.0   Scala 2.8.1-SNAPSHOT   org.scalariform   scalariform  

scalariform 0.0.6

  • Lexer performance tweaks
  • FIX: whitespace in XML end tags (e.g. </a >)
  • Tweak multiline case clause indentation
  • FIX: indentation problem with xml in StatSeq
  • Disallow staircase expression breaks before commas and colons
  • FIX: incorrect indentation within multiple param clauses
  • Improved formatting for case blocks
  • Command line tool learned --encoding= option
  • FIX: honour previously-ignored formatXml preference

Scalariform is a source code formatter for Scala.

Filed under  //   Scala 2.8.0   Scala 2.8.1-SNAPSHOT   org.scalariform   scalariform