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

Online editor tool changes line endings to CR/LF (BB-12570)

    XMLWordPrintable

Details

    Description

      Current Behavior

      When editing a file, e.g. the README in a project, using the online editor Bitbucket changes the line endings of the whole file from Unix to DOS (LF to CR+LF). This is really painful, because every single line is then reported as "changed".

      Expected Behavior

      The online editor should auto-detect the line endings, and save the file in the same format again. The behavior should match the one of typical programmers' IDEs or text editors, such as Eclipse, PyCharm, Notepad++, etc.

      Optionally, the online editor could offer an option (drop-down box) to select the intended line-endings for the file being edited. The value preselected in this drop-down box should be the one that the online editor auto-detects.

      Additional Information

      I had to revert the README file manually using the "dos2unix" command line utility, and commit it again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            19c63e83b58a bittner
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: