Popularity
1.0
-
Activity
0.0
Declining
6
2
1
Programming language: Scala
License: Apache License 2.0
Latest version: v0.6.3
scalafmt alternatives and similar packages
Based on the "Tools" category.
Alternatively, view scalafmt alternatives based on common mentions on social networks and blogs.
-
Scurses
Scurses, terminal drawing API for Scala, and Onions, a Scurses framework for easy terminal UI -
fast-string-interpolator
Scala macro that generates ultra-fast string interpolators -
dregrex
Regular expression engine using deterministic finite automata. It supports some Perl-style features and yet retains linear matching time. -
Giter8
command line tool to generate files and directories from templates published on Github
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of scalafmt or a related project?
README
scalafmt
User documentation
Head over to the user docs for instructions on how to install scalafmt.
Quick help
sbt compile
orsbt core/compile
(specific project).- Run all unit tests:
sbt test
- Run only formatting tests:
tests/testOnly *FormatTests
. - Write new formatting test: read [this doc](scalafmt-tests/src/test/resources/readme.md).
- Build docs: See instructions on the site or locally at
./docs/contributing-website.md
. - Hack on sbt plugin: run
sbt scripted
. - Run jmh benchmarks:
./bin/run-benchmarks.sh
. - Run formatter on millions of lines of code:
tests/test:runMain org.scalafmt.ScalafmtProps
(slow, and requires a lot of memory/cpu) - Debug performance: after each test run in
FormatTests
, a flamegraph report like this one is generated intarget/index.html
. I usually keep a browser tab open atlocalhost:3000/target/index.html
along with this background process:browser-sync start --server --files "target/*.html"
. See Browsersync.
Team
The current maintainers (people who can merge pull requests) are:
- Ólafur Páll Geirsson -
@olafurpg
- Pedro J Rodriguez Tavarez -
@pjrt
- Iurii Susuk -
@ysusuk
- Paul Draper -
@pauldraper
- Rikito Taniguchi
@tanishiking
An up-to-date list of contributors is available here: https://github.com/scalameta/scalafmt/graphs/contributors
We strive to offer a welcoming environment to learn, teach and contribute.
Acknowledgements
JProfiler generously supports scalafmt with its full-featured Java Profiler.