I noticed Intellij Idea auto formatting removes spaces from blank lines. In an example below spaces are shown with "_"
__line1
__
__line3
And idea makes that:
__line1
__line3
How can I turn that off? It prevents using subversion.
I noticed Intellij Idea auto formatting removes spaces from blank lines. In an example below spaces are shown with "_"
__line1
__
__line3
And idea makes that:
__line1
__line3
How can I turn that off? It prevents using subversion.
This is found under:
File > Settings > Editor > General > Strip trailing spaces on Save
IntelliJ IDEA > Preferences > Editor > General > Strip trailing spaces on Save
IntelliJ gives you the ability to search in the Preferences dialog. You can narrow down the list of options by searching for "trailing", for example.
In newer version of IntelliJ the setting is named:
Remove trailing spaces on
You can also hit key sets: Ctrl
+ Shift
+ A
and type:
Remove trailing spaces on
It will bring you to this dialog:
anf after you click it you will be autmaticaly redirected to the settings page.
© 2022 - 2024 — McMap. All rights reserved.