Space and indentation created on 'save' (corrupts change diff in version history) Follow
New to IntelliJ.
For a single line of change in the pom file, IDEA changes the whitespaces characters, which results in showing a large amount of "diff history" in version control.
Where can I turn this setting off?
I unchecked, Editor->Strip trailing spaces, still not change.
Please sign in to leave a comment.
Hello infinity,
Please make sure that the "Before commit | Reformat code" checkbox is unchecked
in the Commit Changes dialog.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I use git via cmd line and the reformatting still occurs.
Hello,
Please provide the following information:
Denis
- the changes are random, as in it replaces blocks of text in pom.xml with the *SAME* content. i suspect there are empty charactetrs at the end of each line that it's trying to strip down.
This happens at each git commit.
Blocks of the same content are not considered to be different by vcs. Please provide exact 'before' and 'after' files in order to check what is the exact difference.
Denis