Don't ignore white space in string literals in diff display

Issue #13588 closed
Ronald Chia
staff created an issue

In the context of a diff, we understand "ignore white space" to mean "ignore changes in white space that are irrelevant in the programs operation. Thus the difference between these two lines is ignored

> var x = "ignore whitespace in strings";

> var x="ignore whitespace in strings";

But a difference in a string literal is significant in any diff. For an example: 'whitespace' to 'white space'. Thus the diff between these two lines:

> var x = "ignore whitespace in strings";

> var x = "ignore white space in strings";

should be displayed even when "Ignore whitespace" is turned on.

Comments (4)

  1. Alastair Wilkes staff

    Given the low interest in this feature since it was raised, and since the team is currently focused on higher priority items, I am closing this issue to reflect that we won't be able to address this in the near future.

  2. Log in to comment