Open Issues Need Help
View All on GitHubAI Summary: The `ktfmt` tool currently fails with an "Expecting an element" error when a Kotlin file starts with a UTF-8 Byte Order Mark (BOM). Most other tools ignore this redundant BOM, and the user suggests `ktfmt` should also ignore it by default to prevent parsing errors. A reproduction case with sample files is provided.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
AI Summary: The `ktfmt` formatter fails with a `ParseError` when encountering Kotlin code that uses the new experimental multi-dollar string interpolation feature. This indicates that `ktfmt`'s parser does not yet recognize the `$$` syntax for interpolation, preventing it from formatting files that utilize this feature.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.