Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13588

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

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rchia Ronald C.
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: