jshiell / checkstyle-idea

CheckStyle plug-in for IntelliJ IDEA
https://plugins.jetbrains.com/plugin/1065-checkstyle-idea
Other
889 stars 161 forks source link

checkstyle not performing some checkstyle rule. #624

Closed parth-ekzero closed 7 months ago

parth-ekzero commented 1 year ago

I have updated the latest version of intellij idea.

after updating my version, I have found that some validations are not working properly.

i.e.

I have provided validation that at max 140 character should be there in one line.

Before updating the version, if I write more than 140 characters in a line then when I save my code, IntelliJ was arranging extra characters in next line. But after updating this (or in latest version) it is not happening.

what is the solution?

jshiell commented 12 months ago

CheckStyle only provides feedback, not code changes. If you were using something that would reformat the code, it wasn't this. While we do have some limited options for supporting importing the CheclStyle rules as an IDEA formatter, the formetter itself is a core part of IDEA and not something we can change.

If there's a part of that import that's not working properly then that would potentially be something the plugin could affect.

jshiell commented 7 months ago

Clsoing due to no further info