Add a trailing comma to stage when commenting

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Not Needed

      The commented stage in text view looks something like this:

      // {  
      //   $project: {
      //     _id: 1,
      //     name: 1,
      //     bathrooms: 1,
      //   }
      // }
      

      When the user uncomments it, it will be helpful to avoid syntax error by adding trailing comma.

            Assignee:
            Unassigned
            Reporter:
            Basit Chonka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: