Skip to content

scalacenter/scala-syntax

scala-syntax Travis Build Status AppVeyor Build status codecov.io Join the chat at https://gitter.im/scalacenter/scalafix

Scalameta tree pretty printer

Pretty printer for Scalameta trees using Paiges.

Improves the built-in Scalameta pretty printer (Tree.syntax) with the following properties:

  • Correctness: Handling of precedence rules, inserting parentheses where necessary.
  • Trivia Preserving: ability to preserve comments and other syntactic elements when doing tree transformation.
  • Line Wrapping: large expressions don't appear in a single line with hundreds of columns.
  • Better Performance

The end goal of this project is to enable a more powerful refactoring API for Scalafix. Currently, Scalafix rewrites are implemented using a fairly low-level token API, which is error-prone.

Team

The current maintainers (people who can merge pull requests) are:

About

Scalameta pretty printer for better Scalafix refactorings

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •