What is ktfmt?
It is a program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
ktfmt is a tool in the Code Review category of a tech stack.
ktfmt is an open source tool with 145 GitHub stars and 9 GitHub forks. Here’s a link to ktfmt's open source repository on GitHub
Pros of ktfmt
Be the first to leave a pro
- Uses google-java-format's underlying engine
- Uses a 2-space indent
ktfmt Alternatives & Comparisons
What are some alternatives to ktfmt?
See all alternatives
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
After each Git push, Code Climate analyzes your code for complexity, duplication, and common smells to determine changes in quality and surface technical debt hotspots.
An extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.