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. Write mode

    It would be great to edit/delete database documents within the MongoDB VSCode extension, particularly when working with a test databases in Atlas.

    I'm looking forward to seeing how this new extension will evolve.

    12 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    started  ·  0 comments  ·  Atlas  ·  Flag idea as inappropriate…  ·  Admin →
  2. Kerberos Authentication for VSCode

    Hi,

    All our databases are secured using Kerberos authenticatoin. I do not see Kerberos/GSSAPI authentication option for this plugin. Looking forward to see this added to the plugin so that we can offer this to our developers. Compass supports Kerberos authentication so it should be an easy port to this plugin. I hope :)

    Thanks

    7 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Connectivity  ·  Flag idea as inappropriate…  ·  Admin →
  3. 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.

    7 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  4. Linting/Validation support for query language

    It would be nice if MongoDB for VS Code had a built-in functionality to verify query syntax, best practices, etc.

    Conceptually, this would work similarly to how ESLINT works for JavaScript.

    4 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other  ·  Flag idea as inappropriate…  ·  Admin →
  5. Option to disable comments for aggregation stages

    Detailed Description

    Option to disable comments for aggregation stages by default. I would assume that link to documentation website will make more sense, considering complexity of aggregation stage use cases. And even that should be optional.

    Context

    I run a lot of quick aggregations to get data insights, comments are just wasting 50% of playground's screen space and not too helpful for me.

    4 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Playground  ·  Flag idea as inappropriate…  ·  Admin →
  6. Conditional confirmation prompt

    I want to configure which connection should have a confirmation prompt before running a playground command. For ex., no prompt for the development database, yes prompt for the production database.

    4 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Playground  ·  Flag idea as inappropriate…  ·  Admin →
  7. 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!

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  View/Edit Documents  ·  Flag idea as inappropriate…  ·  Admin →
  8. Playground Output

    When executing a query in playground, the results come in json format like when we click on a document in connections.

    Currently {name: "value"}
    Proposal {"name": "value"}

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    planned  ·  1 comment  ·  Playground  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base