bpieber wrote:Literal strings should not be touched in any case, though.
I consider this "feature" changing tabs within literals to be a defect. We once ran into a case where the compiler recompiled a method in a unit test due to a class shape change. The recompiled method had tabs in a literal which got changed to spaces. This caused the unit test to fail. It was somewhat nasty to figure out, since we hadn't even browsed the method which was changed. Eventually we noticed that the method in our image had spaces, but the same edition of the method in Envy had tabs.
In our shop, we now always turn off the "convert tabs to spaces" setting, because it can't be trusted.