Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format using shortest path search. #1

Merged
merged 1 commit into from
Jan 13, 2016
Merged

Format using shortest path search. #1

merged 1 commit into from
Jan 13, 2016

Conversation

olafurpg
Copy link
Member

This commit adds:

This commit adds:
- Formatter implementation based on Dijkstra's shortest path search
  algorithm.  This way, we reduce the formatting problem to assigning a
  weight to each formatting option between any two non-whitespace
  tokens.
- dartfmt inspired testing via FormatTest, see
https://github.com/dart-lang/dart_style/tree/2fdfe08b92b0ee90492832df60d1eee9e47afcb5/test/splitting
- logging using logback + scala-logging via ScalaFmtLogger.
olafurpg added a commit that referenced this pull request Jan 13, 2016
Format using shortest path search.
@olafurpg olafurpg merged commit 314f438 into master Jan 13, 2016
@olafurpg olafurpg deleted the wip/setup branch January 13, 2016 17:26
poslegm pushed a commit that referenced this pull request Oct 28, 2019
…d_of_blocks

Address feedback on editions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant