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 254 GitHub stars and 17 GitHub forks. Here’s a link to ktfmt's open source repository on GitHub
- 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.
Automatically find & fix vulnerabilities in your code, containers, Kubernetes, and Terraform
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.