{"repo":"scalameta/scalafmt","free":true,"listed":false,"github":"https://github.com/scalameta/scalafmt","clone":"git clone https://github.com/scalameta/scalafmt.git","description":"Code formatter for Scala","language":"Scala","stars":1489,"topics":["scala","formatter"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"scalafmt [User documentation][docs] Head over to [the user docs][docs] for instructions on how to install scalafmt. Quick help - sbt compile or sbt core/compile (specific project). - Run all unit tests: sbt test - Run only formatting tests: tests/testOnly FormatTests . - Write new formatting test: read this doc. - Build docs: See instructions on the [site][docs-guide] 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 in target/index.html . I usually keep a browser tab open at localhost: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 Mikhail Chugunkov @poslegm 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. [docs]: https://scalameta.org/s","default_branch":null,"files":null,"tree":[],"storefront":"/r/scalameta","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/scalameta/scalafmt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}