Auto-correct not working
ayush2297 opened this issue · 2 comments
ayush2297 commented
I recently added the detekt in my kotlin spring boot project and ran ./gradlew detekt
. I received multiple warnings and did not want to resolve them manually. That's when i came across this intellij plugin.
The autocorrect feature does not seem to be working.
Example : I am getting a simple warning of no new line at the end of the file
. When I run autocorrect through the IDE plugin, it does nothing.
Please help as I am not sure if I am missing anything. Kindly, let me know if any further information is required.
arturbosch commented
ayush2297 commented
This helped, thanks! I thought the formatting would work right away. It started working after enabling formatting rules.