Enable formatter markers by default

Answered

In our current project, we have an issue with unexpected whitespaces showing up in the front-end.
Looks like the IntelliJ code formatter adds whitespaces. While the code is more readable, it's undesirable that the whitespaces pop up in the front-end.

 

An easy workaround (not the solution, I know) would be to disable the formatter for that piece of code. Our comments don't disable the formatter, however. On the forum, I've found that we need to click this checkbox in the settings:

- in Settings | Editor | Code Style, tick the Enable formatter markers in comments checkbox

 

On a long running project, where every developer (and every future developer) would need to change his/her settings, this is not a great solution for us. I'm a bit surprised that this checkbox is not checked by default. Could this be considered?

 

1
1 comment

we have a related issue, please upvote: https://youtrack.jetbrains.com/issue/IDEA-118043

0

Please sign in to leave a comment.