Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-518

Aggregate .editor sessions into one item in history

    • Iteration Barcelona
    • Not Needed

      In MONGOSH-336, we aggregated commands that span across multiple lines into one item in history.

      For users who switch to editor mode (.editor) to write multi-line commands we should do the same for 2 reasons:

      1. It makes it easier (or rather, possible) to re-run commands that were created in editor mode simply by doing "Arrow Up"
      2. To not pollute shell history with things that are not useful and that are not even runnable, e.g. a closed bracket.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: