interfaces

Dependency-free, pure Java public interfaces to integrate with Scalafmt through a build tool or editor plugin.

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.geirsson
ArtifactId

ArtifactId

scalafmt-interfaces
Last Version

Last Version

2.0.0-RC1
Release Date

Release Date

Type

Type

jar
Description

Description

interfaces
Dependency-free, pure Java public interfaces to integrate with Scalafmt through a build tool or editor plugin.
Project URL

Project URL

https://github.com/scalameta/scalafmt
Project Organization

Project Organization

com.geirsson
Source Code Management

Source Code Management

https://github.com/scalameta/scalafmt

Download scalafmt-interfaces

How to add to project

<!-- https://jarcasting.com/artifacts/com.geirsson/scalafmt-interfaces/ -->
<dependency>
    <groupId>com.geirsson</groupId>
    <artifactId>scalafmt-interfaces</artifactId>
    <version>2.0.0-RC1</version>
</dependency>
// https://jarcasting.com/artifacts/com.geirsson/scalafmt-interfaces/
implementation 'com.geirsson:scalafmt-interfaces:2.0.0-RC1'
// https://jarcasting.com/artifacts/com.geirsson/scalafmt-interfaces/
implementation ("com.geirsson:scalafmt-interfaces:2.0.0-RC1")
'com.geirsson:scalafmt-interfaces:jar:2.0.0-RC1'
<dependency org="com.geirsson" name="scalafmt-interfaces" rev="2.0.0-RC1">
  <artifact name="scalafmt-interfaces" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.geirsson', module='scalafmt-interfaces', version='2.0.0-RC1')
)
libraryDependencies += "com.geirsson" % "scalafmt-interfaces" % "2.0.0-RC1"
[com.geirsson/scalafmt-interfaces "2.0.0-RC1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12

test (3)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 3.2.0-SNAP10
org.scalacheck : scalacheck_2.11 jar 1.13.5
org.scalameta : testkit_2.11 jar 4.0.0

Project Modules

There are no modules declared in this project.

scalafmt

Build Status Build status Join the chat at https://gitter.im/scalameta/scalafmt Join the discord chat Latest version

User documentation

Head over to the user 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 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:

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.

com.geirsson
Developer tooling for Scala

Versions

Version
2.0.0-RC1