Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38276

Increase size of text area for pipeline script code

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • workflow-cps-plugin
    • Jenkins 2.7.2
      Pipeline plugin 2.11
      Window 7 x64 SP1
    • workflow-cps 2.84

      The text area for pipeline script code is too small, and neither Chrome or Firefox allow for custom resizing; text area size is likely hard coded in Jenkins.

      This issue becomes critical on 13" laptop screens even if they are retina as the edit window becomes almost impossible to use due to both lack of horizontal and vertical space.

          [JENKINS-38276] Increase size of text area for pipeline script code

          Raffi B created issue -

          Count me in as a plaintive requester for a resizeable text box. I know we can use a script that we edit a file outside of Jenkins, but I'm poking at it in an iterative fashion and having a window large enough to do something more than "Hello World" would be peachy. I use Safari 9.1.1 and Chrome version 53.0.2785.116 (64-bit). Will not try on Firefox because of my personal history of "Why is this taking up so much memory?"

          Elaine Richards added a comment - Count me in as a plaintive requester for a resizeable text box. I know we can use a script that we edit a file outside of Jenkins, but I'm poking at it in an iterative fashion and having a window large enough to do something more than "Hello World" would be peachy. I use Safari 9.1.1 and Chrome version 53.0.2785.116 (64-bit). Will not try on Firefox because of my personal history of "Why is this taking up so much memory?"

          I'll be interested in this enhancement as well

          Tony Xynidakis added a comment - I'll be interested in this enhancement as well

          Matt Friedman added a comment -

          Making the window for editing bigger would be great. If there were a way to open an external editor such as vi, even better.

          Matt Friedman added a comment - Making the window for editing bigger would be great. If there were a way to open an external editor such as vi, even better.

          Jon B added a comment -

          +1 for this. The textarea is so small it's virtually useless. I have to copy/paste the content of that into an IDE and then back again. Very very user unfriendly the way it is

          Jon B added a comment - +1 for this. The textarea is so small it's virtually useless. I have to copy/paste the content of that into an IDE and then back again. Very very user unfriendly the way it is

          +1

          That tiny box is impossible to work with, even for minor script changes. I'm always copying/pasting to/from a real text editor.

          Julio Morimoto added a comment - +1 That tiny box is impossible to work with, even for minor script changes. I'm always copying/pasting to/from a real text editor.
          Sorin Sbarnea made changes -
          Attachment New: pipeline-edit-window-size-too-small.png [ 37028 ]
          Sorin Sbarnea made changes -
          Description Original: The text area for pipeline script code is too small, and neither Chrome or Firefox allow for custom resizing; text area size is likely hard coded in Jenkins. New: The text area for pipeline script code is too small, and neither Chrome or Firefox allow for custom resizing; text area size is likely hard coded in Jenkins.

          This issue becomes critical on 13" laptop screens even if they are retina as the edit window becomes almost impossible to use due to both lack of horizontal and vertical space.
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

          Sorin Sbarnea added a comment -

          Can we do something about this bug as it makes extremely hard even to view to change one line in the pipeline (not to mention being impossible to see an entire block).

          Sorin Sbarnea added a comment - Can we do something about this bug as it makes extremely hard even to view to change one line in the pipeline (not to mention being impossible to see an entire block).
          Sorin Sbarnea made changes -
          Link New: This issue is related to JENKINS-31592 [ JENKINS-31592 ]

            fqueiruga FĂ©lix Queiruga Balado
            raffinyc Raffi B
            Votes:
            36 Vote for this issue
            Watchers:
            38 Start watching this issue

              Created:
              Updated:
              Resolved: