Code Monkey home page Code Monkey logo

scalafmt's Introduction

scalafmt codecov.io Build Status Join the chat at https://gitter.im/olafurpg/scalafmt

Head over to the user docs for instructions on how to install scalafmt.

Developer documentation - contributing

  • core/testOnly org.scalafmt.FormatTests: runs the fast, most relevant, unit tests.
    • After each run, a performance report 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.
  • core/testOnly org.scalafmt.FidelityTest: runs the formatter on all files in this project.
  • run-benchmarks.sh script to run jmh benchmarks.
  • core/test:runMain org.scalafmt.FormatExperimentApp:
    1. Uses wget to download a ~20mb tar (repos.tar.gz) that contains ~28.000 Scala source files from public Github repos,
    2. untars with tar,
    3. runs scalafmt on a subset of the files, specified in FormatExperiment. Runs various property based checks under timing constraints (around 10s per file),
    4. prints summary report to console.
  • instructions for the tests are here.

scalafmt's People

Contributors

olafurpg avatar propensive avatar gitter-badger avatar

Watchers

Frank Thomas avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.