I'm using eclipse on Win 7. I'm also using checkstyle and find that checkstyle is complaining about trailing white space in comments.
I wish to disable this check in checkstyle, not make any modifications to my environment as I wish to share the check style file with other developers in the office an ensure everyone can see the code in the same checkstyle "light" :)
I'm okay with other built in features that would solve this problem. I've tried: Ctrl+Shift+F
and Ctrl+Alt+C
. Neither of which auto fix the trailing space automatically.
Found the way to disable it in checkstyle:
Preferences -> CheckStyle -> Regexp -> RegexpSingleLine (Disable)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With