kotlin-companion-object-formatter Purpose Move your companion object declarations from class top to bottom (after functions and above class and interface declarations) in your kotlin projects. How to run Compile and build ./gradlew jar Run ./outputJar <path to your sources (directory or kt file)>