Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-367

Add insert document context menu action to collections

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.11.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Iteration Unicornfish, Iteration Velvet Crab
    • Needed
    • Hide

      We've added another action that creates a playground to make adding a document a bit quicker from the tree explorer view. I'm thinking we might want to surface this similar to how we surface some of the other right click actions in https://www.mongodb.com/docs/mongodb-vscode/databases-collections/

      Show
      We've added another action that creates a playground to make adding a document a bit quicker from the tree explorer view. I'm thinking we might want to surface this similar to how we surface some of the other right click actions in https://www.mongodb.com/docs/mongodb-vscode/databases-collections/

      Add an `Insert Document..`. context menu action to collections to make adding data a bit quicker. It opens a playground with a template with a `db.getCollection(collection_name).insertOne` call in it, where the `collection_name` is the collection that the conext menu was opened on.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: