File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # ktfmt [ ![ GitHub release] ( https://img.shields.io/github/release/facebook /ktfmt?sort=semver )] ( https://github.com/facebook/ktfmt/releases/ ) [ ![ Maven Central Version] ( https://img.shields.io/maven-central/v/com.facebook/ktfmt )] ( https://central.sonatype.com/artifact/com.facebook/ktfmt ) [ ![ ] ( https://github.com/facebook/ktfmt/workflows/Build%20and%20Test/badge.svg )] ( https://github.com/facebook/ktfmt/actions/workflows/build_and_test.yml " GitHub Actions workflow status ") [ ![ slack] ( https://img.shields.io/badge/Slack-ktfmt-purple.svg?logo=slack )] ( https://slack-chats.kotlinlang.org/c/ktfmt ) [ ![ invite] ( https://img.shields.io/badge/Request%20a%20Slack%20invite-8A2BE2 )] ( https://surveys.jetbrains.com/s3/kotlin-slack-sign-up ) [ ![ issues - ktfmt] ( https://img.shields.io/github/issues/facebook/ktfmt )] ( https://github.com/facebook/ktfmt/issues )
1+ # ktfmt [ ![ GitHub release] ( https://img.shields.io/github/release/kotlin /ktfmt?sort=semver )] ( https://github.com/facebook/ktfmt/releases/ ) [ ![ Maven Central Version] ( https://img.shields.io/maven-central/v/com.facebook/ktfmt )] ( https://central.sonatype.com/artifact/com.facebook/ktfmt ) [ ![ ] ( https://github.com/facebook/ktfmt/workflows/Build%20and%20Test/badge.svg )] ( https://github.com/facebook/ktfmt/actions/workflows/build_and_test.yml " GitHub Actions workflow status ") [ ![ slack] ( https://img.shields.io/badge/Slack-ktfmt-purple.svg?logo=slack )] ( https://slack-chats.kotlinlang.org/c/ktfmt ) [ ![ invite] ( https://img.shields.io/badge/Request%20a%20Slack%20invite-8A2BE2 )] ( https://surveys.jetbrains.com/s3/kotlin-slack-sign-up ) [ ![ issues - ktfmt] ( https://img.shields.io/github/issues/facebook/ktfmt )] ( https://github.com/facebook/ktfmt/issues )
22
33` ktfmt ` is a program that pretty-prints (formats) Kotlin code, based on
44[ google-java-format] ( https://github.com/google/google-java-format ) .
@@ -20,9 +20,9 @@ IntelliJ:
2020
2121## Playground
2222
23- We have a [ live playground] ( https://facebook .github.io/ktfmt/ ) where you can easily see how ktfmt
23+ We have a [ live playground] ( https://kotlin .github.io/ktfmt/ ) where you can easily see how ktfmt
2424would format your code.
25- Give it a try! https://facebook .github.io/ktfmt/
25+ Give it a try! https://kotlin .github.io/ktfmt/
2626
2727## Using the formatter
2828
@@ -69,7 +69,7 @@ $ brew install ktfmt
6969
7070### from the command-line
7171
72- [ Download the formatter] ( https://github.com/facebook /ktfmt/releases ) and run it with:
72+ [ Download the formatter] ( https://github.com/Kotlin /ktfmt/releases ) and run it with:
7373
7474```
7575$ java -jar /path/to/ktfmt-<VERSION>-with-dependencies.jar [--kotlinlang-style | --google-style] [files...]
You can’t perform that action at this time.
0 commit comments