Enable formatter markers by default
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?
Please sign in to leave a comment.
we have a related issue, please upvote: https://youtrack.jetbrains.com/issue/IDEA-118043