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

Add a line wrapping option for editing files with long lines (BB-11890)

    • 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.

      It would be quite helpful for editing content files (.txt, .tex, .html, etc.) if the online commit editor had an option to wrap long lines, instead of having to use the horizontal scroll bar.

      This is a separate issue from BCLOUD-3873 about the diff viewer; even if the diff viewer doesn't wrap lines, it would be still nice to be able to use the online editor on these files.

            [BCLOUD-10839] Add a line wrapping option for editing files with long lines (BB-11890)

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3536411 ] New: JAC Suggestion Workflow 3 [ 3589802 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]

            DaveCW added a comment -

            I have long lines in my source code that I do not want to wrap. I do not care to explain why. I have good reasons. Period.

            All I want is some CSS styling so that controls and buttons on the right edge of the bitbucket web pages are visible without horizontal scrolling or setting a ridiculous zoom value.

            This is a problem with bitbucket's page formatting. I should not, and will not, alter my work to fix someone else's poor design. Please fix.

            DaveCW added a comment - I have long lines in my source code that I do not want to wrap. I do not care to explain why. I have good reasons. Period. All I want is some CSS styling so that controls and buttons on the right edge of the bitbucket web pages are visible without horizontal scrolling or setting a ridiculous zoom value. This is a problem with bitbucket's page formatting. I should not, and will not, alter my work to fix someone else's poor design. Please fix.

            marcel-sl added a comment -

            This looks great, thanks! Do you think you could also add this option
            when viewing instead of editing source files? For example, it would be
            nice to have the line wrap when looking at commits that changed latex
            files with long lines.

            Best,
            Marcel

            marcel-sl added a comment - This looks great, thanks! Do you think you could also add this option when viewing instead of editing source files? For example, it would be nice to have the line wrap when looking at commits that changed latex files with long lines. Best, Marcel

            just tested with some latex files, and new line wrapping feature looks great, thanks!

            nils-holmberg added a comment - just tested with some latex files, and new line wrapping feature looks great, thanks!
            Zachary Davis (Inactive) made changes -
            Status Original: GATHERING INTEREST [ 11772 ] New: RESOLVED [ 5 ]

            Line wrapping is now an option when using the online editor

            Zachary Davis (Inactive) added a comment - Line wrapping is now an option when using the online editor

            Issue BCLOUD-8347 was marked as a duplicate of this issue.

            Zachary Davis (Inactive) added a comment - Issue BCLOUD-8347 was marked as a duplicate of this issue.

            pwayner added a comment -

            Yes, let's add it. Please.

            This shouldn't be hard.

            The CodeMirror editor that you use has a boolean that can be set (lineWrapping) to true to turn on linewrapping. Could there be a button that does this?

            A super-slick option might be to let each user set up a JSON block for configuration. But that might add too much to the job and it might be overkill. I'm not sure how many people would want to tweak some of the other parameters.

            http://codemirror.net/doc/manual.html(Link URL)

            pwayner added a comment - Yes, let's add it. Please. This shouldn't be hard. The CodeMirror editor that you use has a boolean that can be set (lineWrapping) to true to turn on linewrapping. Could there be a button that does this? A super-slick option might be to let each user set up a JSON block for configuration. But that might add too much to the job and it might be overkill. I'm not sure how many people would want to tweak some of the other parameters. http://codemirror.net/doc/manual.html (Link URL)

            mankoff added a comment -

            +1. This is the only reason we're using GitHub - non-technical collaborator can edit documents there via the webpage with SoftWrap turned on.

            mankoff added a comment - +1. This is the only reason we're using GitHub - non-technical collaborator can edit documents there via the webpage with SoftWrap turned on.

            This would be great!

            Legacy Bitbucket Cloud User (Inactive) added a comment - This would be great!

              zdavis Zachary Davis (Inactive)
              1c5549f4511c ajirnyi
              Votes:
              7 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: