Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5853

Code formatting support for stage editor

    XMLWordPrintableJSON

Details

    • Icon: Investigation Investigation
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • No version
    • None
    • None
    • None
    • 3
    • Not Needed
    • Iteration Dolphin, Iteration Fish, Iteration Grouper, Iteration Narwhal

    Description

      When aggregation stages start to become big and deeply nested, often indentation gets messed up.

      It'd e great to have a way to reformat/prettify the code in the stage editor to avoid having to do the formatting outside of Compass.

      The UX could be a button in the stage toolbar that triggers the reformatting.

      I propose a timeboxed investigation to see if this is something we can ship very quickly (I am thinking a couple of days max). Alternatively/at the same time, we should add this functionality as a feature for the new stage editor.

      Attachments

        Activity

          People

            sergey.petushkov@mongodb.com Sergey Petushkov
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: