facebook/ktfmt: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.

574
STARS
14
WATCHERS
43
FORKS
84
ISSUES

ktfmt's Language Statistics

facebook's Other Repos

Star history of ktfmt
Issue history of ktfmt

ktfmt Recent Issues

Issue Title State Comments Created Date Updated Date Closed Date
IndexNotReadyException in IntelliJ IDEA Plug-In open 0 2022-12-06 2022-12-02 -
java.lang.Throwable: Stub index points to a file closed 1 2022-12-01 2022-12-02 2022-12-09
Optimize imports does not work for wildcard imports closed 3 2022-11-10 2022-12-02 2022-11-10
Documentation sublists are reformatted as code blocks closed 2 2022-11-03 2022-12-02 2022-11-10
Support experimental OpenEndRang<T> open 1 2022-10-20 2022-12-02 -
Version 0.41 behaves differently between CLI and plugin open 0 2022-10-13 2022-12-02 -
Line break on Elvis operator inside parenthesized expression open 0 2022-10-12 2022-12-02 -
Is there a way to make it where it changes .get("") to [""] closed 1 2022-09-22 2022-12-02 2022-09-22
Random breaking line on function parenthesis with no params (Ktfmt version `0.40`) closed 4 2022-09-22 2022-12-02 2022-09-22
IntelliJ plugin doesn't respect max line length setting. open 1 2022-09-13 2022-12-02 -
v0.40 with spotless wrong format style, detekt issue Unexpected spacing after "(" [SpacingAroundParens] closed 1 2022-09-13 2022-12-02 2022-09-13
How can formatter add a line between method? closed 1 2022-09-11 2022-12-02 2022-09-13
trailing function call parenthesis regression in 0.40 closed 2 2022-09-04 2022-12-02 2022-09-07
Artifacts for v0.40 not available on Maven Central closed 1 2022-09-02 2022-12-02 2022-09-02
Wrong indentation for call with lambda argument and trailing call open 2 2022-08-09 2022-12-02 -
ktfmt removes blank lines between when clauses open 3 2022-07-23 2022-12-02 -
Crash on intersection type arguments (e.g. Foo<T & Any>) closed 1 2022-07-20 2022-12-02 2022-07-21
Use https://github.com/tnorbye/kdoc-formatter for KDoc formatting closed 0 2022-07-20 2022-12-02 2022-11-15
Trailing commas disallow short lines from being collapsed open 10 2022-07-14 2022-12-02 -
Add a flag to name the source of "<stdin>" in output messages closed 0 2022-07-06 2022-12-02 2022-07-24
Allow `// ktfmt: off … // ktfmt: on` escape hatch closed 1 2022-07-06 2022-12-02 2022-07-07
Support Kotlin 1.7.0's rangeTo operator closed 2 2022-06-29 2022-12-02 2022-07-02
ktfmt crashes on if clause with semicolon closed 1 2022-06-24 2022-12-02 2022-09-23
Support for tables in KDoc open 0 2022-06-23 2022-12-02 -
Markdown errors cause a crash closed 2 2022-06-09 2022-12-02 2022-06-09
Nested unary operators (e.g. - -x) have semantic change after formatting closed 0 2022-06-08 2022-12-02 2022-06-09
Chain after Elvis operator changes indentation closed 4 2022-06-08 2022-12-02 2022-06-10
Strange formatting error on escaped square brackets in a kdoc closed 4 2022-06-02 2022-12-02 2022-07-21
"error: expected token: ':'; generated -> instead" on destructured lambda parameters with types closed 2 2022-06-02 2022-12-02 2022-06-08
Consider formatting partial files closed 1 2022-05-30 2022-12-02 2022-05-30
There are no `*-with-dependencies` jar artifacts getting uploaded to github releases open 2 2022-05-30 2022-12-02 -
Long expression inside parentheses causes only trailing `)` to be on new line closed 12 2022-05-23 2022-12-02 2022-06-07
can you export maxWidth option to idea plugin? closed 1 2022-05-16 2022-12-02 2022-05-16
ktfmt crashes on type annotated destructuring param closed 0 2022-05-05 2022-12-02 2022-05-06
Formatting of field annotations is inconsistent with GJF open 2 2022-05-02 2022-12-02 -
Crash when the RHS of an `is` expression must break to a new line closed 1 2022-04-29 2022-12-02 2022-05-31
context receivers support open 3 2022-04-22 2022-12-02 -
Artifacts for v0.36 not available on MavenCentral closed 4 2022-04-21 2022-12-02 2022-04-25
Line break after @sample breaks Intellij functionality open 1 2022-04-13 2022-12-02 -
ktfmt rearranges comments on top of imports statements open 13 2022-03-17 2022-12-02 -
Propagate breaks across different parts of call expressions, fn declarations, and class declaration open 0 2022-03-04 2022-12-02 -
Generalized support for fluent chains open 1 2022-03-04 2022-12-02 -
Chained trailing lambdas are formatted incorrectly open 8 2022-02-26 2022-12-02 -
Sort modifiers based on Kotlin conventions open 1 2022-02-23 2022-12-02 -
Crash when comment separate imports closed 9 2022-02-17 2022-12-02 2022-02-23
Crash when trying to format a single-lambda argument invocation with a trailing comma closed 3 2022-02-15 2022-12-02 2022-02-24
Crash with extends clause ending in a delegate with a where clause closed 1 2022-02-15 2022-12-02 2022-03-21
`format` re-parses after adding newlines, which can cause crashes open 1 2022-02-09 2022-12-02 -
Formatting of lambda followed by `.asSequence()` is a bit strange open 3 2022-01-31 2022-11-30 -
IntelliJ plugin causes IDE errors open 0 2022-01-07 2022-11-30 -