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.

79 results found

  1. Rename Database function

    Subject: Feature Request: Add Support for Renaming a Database

    Dear MongoDB Team,

    I appreciate the great work you’ve done with MongoDB—it’s a fantastic database solution that continues to evolve and improve. However, I would like to suggest a feature that I believe would be beneficial to many users:

    Feature Request: Database Rename Functionality
    Currently, MongoDB does not provide a built-in method to rename a database. The workaround involves using mongodump and mongorestore, or manually copying collections, which can be cumbersome, especially for large databases.

    A built-in command like renameDatabase("olddb", "newdb") would:

    Simplify database management.
    Reduce downtime and complexity…

    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  ·  Shell  ·  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. Data view as tabular format

    All data are always showing as json in vscode extension. Can you add a functionality so that user can switch to json or tabular form of data view

    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  ·  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. Script a schema

    In schema explorer, right click a collection Schema, and have the option to "Generate Script". This would generate a js file such as:

    var Comments = new Schema({
    title : String
    , body : String
    , date : Date
    });

    Alternatively or additionally, you could click the collection, and "Generate Script" and it would generate a script for creating the schema AND indexes. It would also be helpful to be able to perform this at the database level, which would generate the script for every collection in the database.

    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  ·  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)
  4. i suggest you need to add the refresh feature on the view all documents

    i suggest you need to add the refresh feature on the view all documents,
    in my case i need to click the view document to refresh the whole documents page.
    instead of this why should you add same refresh all documents feature it this.

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

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

    0 comments  ·  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. Please refer to the design pattern and features of database plugin in IDEA

    Please support a query console where we can edit and store some MongoDB SQL for query, and It'd better to execute the statements in the query console and get the result in the tab at the bottom.

    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

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Possibility to edit and save documents

    Now when I open a document, I can write in it but can't save it. Make a save button to update it

    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)
  8. Enable index and import export from extension

    Enable Vector Search Index Creation from extension, importing and exporting data into and out of collections

    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  ·  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. 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

    1 comment  ·  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)
  10. 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)
  11. 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)
  12. 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)
  13. 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)
  14. Use the ssh connection or the tunnel from vscode

    It would be awesome to be able to use the ssh connection or the tunnel from vscode to connect to the MongoDB server

    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)
  15. Enable code block with connection to choose and run icon

    Like python notebooks, it would be very helpful to have code blocks to run and select database. like the image shown

    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

    1 comment  ·  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)
  16. Pin Connection to Playground

    I would like to be able to switch across playgrounds that are contextually associated with different connections without having switch connections globally.

    So, I connect one playground with one connection, I open another playground for another connection. When I switch back to the first playground I don't have to click through to the first connection as the playground is still associated with it.

    Likewise, when I switch to the second playground, it's already/still connected to the second connection.

    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)
  17. Connection Collections

    Instead of having to search through a long list of connections, create folders in which related connections might be grouped?

    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)
  18. show/hide setting for the info line in the file tab

    I can see the potential in this tiny feature but for my, seeing unrelated info line text in the file is distractions, and I will appreciate a setting to hide or show this info line in the file
    I searched in the setting but did not find any settings to show or hide this info line.
    further more I will suggest to add "connected info" section in the mdb sidebar, it can be as a mini dash board.. this info line will be great fit in that section. thanks!

    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)
  19. Improve Performance of Result Display - Stream Results to JSON Display

    It looks like currently the playground results don't appear until the full set is collected from the server. This is extremely slow sometimes depending on the latency to the cluster and document size.
    As soon as you have one document returned in the cursor, you can start showing the data in the results panel write the JSON streaming fashion as each document is deserialized.

    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)
  20. 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)
← Previous 1 3 4
  • Don't see your idea?

MongoDB for VS Code

Categories

Feedback and Knowledge Base