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.
72 results found
-
Reuse db connection
It's much slower than other mongodb clients like Robo 3t every time I run a query, it seems that it create a new connection to the database and then executes the query. Is there any way to keep and reuse an existed connection so that to speed up the query executions?
3 votes -
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 entered3 votes -
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 -
3 votes
-
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 -
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 -
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 -
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 -
Add ObjectId() to intellisense
Add ObjectId() to .mongodb intellisense / autocomplete when indicating that an _id field is of ObjectId type
2 votes -
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 -
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 system2 votes -
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 -
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 -
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 -
Graph Visualizer
Be able to visualize graph relation and nodes and edges.
2 votes -
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 -
the product does not connect properly!
the product does not connect properly!
1 vote -
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 -
Add Support for Stable API in the extension
Include support for running playground against a stable API version.
1 vote -
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
- Don't see your idea?