Skip to content

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.

71 results found

  1. DB Documantation

    Adding the ability to add documentation on each db,collection,document,index etc...
    for example :add an explenation on what this field is for in a document.
    Then give the ability to generate a document with the db schema and all related details entered

    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  ·  Schema  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Connection based "theming"

    Add the ability to color code playground tab and/or editor's background color in the playground based on the connection that is active.

    Eg: default background for my localhost connection and a more colorful one for staging environment or production ones even.

    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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. I'd like to view, edit and even version control my validation schemas

    I'd like to view, edit and even version control my validation schemas

    2 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  ·  Schema  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Ability to select a specific property to display in the sidebar document list

    Make it possible to select (and remember for each collection) a property to display in the list of documents, instead of the standard '_id' property (For example: 'name' property, instead of '_id')

    2 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  ·  Other  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Kerberos ticket renewal in MongoDB Node.js Driver programmatically

    Requesting a functionality of the MongoDB driver (or another NPM module) to automatically renew the tickets when it is necessary without kinit on Linux environment

    2 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. ability to run to a specified aggregation stage and see output

    Essentially the same as https://mongoplayground.net/

    if you add multiple aggregation stages you can pick which one you want to run up to, and inspect the output.

    This makes it dramatically easier to tweak larger pipelines without having to comment further stages out.

    2 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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Add ObjectId() to intellisense

    Add ObjectId() to .mongodb intellisense / autocomplete when indicating that an _id field is of ObjectId type

    2 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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Intellisense for playground code

    Hovering over getCollection and other supported methods doesn't show any intellisense. This would save us time from having to go to the docs and looking that method up. Also the sort method which I think its a normal JavaScript method doesn't show intellisense inside playground so please add some intellisense.

    2 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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. Set a default connection or auto detect a running MongoDB session

    Automatically set up a connection via the MongoDB Extension instead of pasting the connection string manually every time.

    Either by
    1. detecting a running mongo session
    2. Loading default connections, from a place on the system

    2 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Specify default database in Advanced Connection Settings form

    The Create New Connection using the Advanced Connection Settings form does not provide a place to specify a default database. I'm specifically interested in this so I like running selected lines and it'd be a way to not include 'use(<db>)' with every query.

    2 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. make and export button and a delete collection item

    make button to export collection to xls or any other spreadsheet file. And also make a button to remove collection items

    2 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. Copy collection schema

    Detailed Description
    Ability to copy collection schema, Export schema to a typescript file,

    Context
    So that we can use it (schema interface) for typescript. Basically It will infer types about collection.

    2 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  ·  Schema  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Graph Visualizer

    Be able to visualize graph relation and nodes and edges.

    2 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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. predefined connections array on settings, this helps on devcontainer setups alot

    sqltools is already using similar idea to handle connections
    "sqltools.connections": [
    {
    "name": "Container database",
    "driver": "MariaDB",
    "server": "localhost",
    "previewLimit": 50,
    "port": 3306,
    "database": "....",
    "username": ".....",
    "password": "....."
    }
    ]

    2 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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. the product does not connect properly!

    the product does not connect properly!

    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  ·  Connectivity  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Opening Playground file from other folders out of workspace, with Recents list

    Normally I don't store playground files within my VS Code project folder (which often is a Git repository).
    I could add the files to .gitignore, but it would be much more convenience if the Playgrounds pane has options to open file from another folder, and to open recent files too.

    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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. Add Support for Stable API in the extension

    Include support for running playground against a stable API version.

    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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. Naming convention of documents when viewing in VSCode

    The MongoDB extension for VSCode has given me a really good development experience by simply using my DB from either local machine or from Atlas, without going out of the editor.

    But one thing we can have, as an improvement, is to give some sort of ability that the documents of a MongoDB collection can be named based on a field chosen when viewing it via extension.

    Currently, for sake of uniqueness, it uses _id as representation name, which may sometimes feel confusing while developing with MongoDB.

    I will really love to have something of sorts implemented in VS Code.

    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  ·  Other  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Reactive document opened by ID for editing

    I really want to be able to open a document by ID so I can fix data created during development, but that would be on page 1000 if browsing.

    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  ·  Playground  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

MongoDB for VS Code

Categories

Feedback and Knowledge Base