MongoDB for VS Code

MongoDB for VS Code lets you easily work with MongoDB directly from your VS Code environment. Using the MongoDB extension, you can:

  • Connect to a MongoDB instance or cluster
  • Navigate your databases and collections
  • Prototype queries and aggregations

You can install the MongoDB extension from inside of VS Code via the VS Code Extension Marketplace. Help us improve the MongoDB for VS Code by posting your ideas and suggestions for improvements.


To report bugs, please use our VSCODE JIRA project.

  1. Open documents in the same tab

    Every time I want to check a doc, It opens it in a new tab Which makes it difficult to navigate across the workspace. I would recommend open docs in the same tab and maybe device some mechanism to open the docs in a new tab if the user wants to compare two or more of them.

    15 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  2. Ability to delete individual records in a collection

    Ability to delete individual records in a collection either using the "backspace" or the menu (delete record). Also, an "empty this collection" would help.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  3. "Table View" of Documents

    As some others tools have, a way to view all documents from a collection in a table format with columns and lines. An 'click on header for sort' is well desirable.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  4. Tree collapse/expand in the connections panel

    After opening a few options of the tree sometimes I want to collapse all and explore a completely different path, having the option to expand/collapse all would be neat!

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  5. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  6. Show UUID fields as UUID in document editor

    I have a collection with documents containing UUID fields (standard, not legacy). When I browse those documents in the extension, they are shown like this:

    {
    "id": "5e58eae46015f74c61dd6af0",
    "my
    uuid": {
    "$binary": {
    "base64": "ILGr2eKZSmqkQX1OZsoICQ==",
    "subType": "04"
    }
    }
    }

    I would have expected them to be shown as:

    {
    "id": "5e58eae46015f74c61dd6af0",
    "my
    uuid": UUID("20b1abd9-e299-4a6a-a441-7d4e66ca0809")
    }

    Robot 3T (for example) does this well. I think it would greatly help to read such values.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  7. filter by database/collection name

    would be nice to be able to filter by database/collection name in the connections panel, similar to what is found in MongoDB Compass.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base