I work on many projects in Intellij where the formatting is bad or unorthodox, specifically where the indentation of "continuation" lines are apparently different from how Intellij is configured. I don't want to fix this indentation across many files or even across an entire file (this is against our tech team's policy because it will ruin git-blame but also because it will result in noisy diffs or extraneous commits)
If I'm editing a file with indentation like this, I am fine with Intellij autoindenting new lines of code or lines that I've edited. But I frequently discover that it has indented OTHER lines elsewhere in the file, almost always these "continuation" lines*
How can I configure Intellij to stop changing these? There's a configuration option to delete trailing whitespace only on lines that have been changed, but I can't find where the configuration controlling this behavior is. FWIW this doesn't happen on save, but seems to happen after some other trigger, but I'm not sure what the trigger is. I think it might happen when you automatically import classes?
*I think that's what these are called, eg:
foo.bar()
.baz() // a line that might be changed by Intellij