: When a connection is added, a prompt is shown that let's the user decide where the new connection should be saved.mdb.excludeFromPlaygroundsSearch: Exclude files and folders while searching for playground in the the current workspace.mdb.confirmRunAll: Show a confirmation message before running commands in a playground.mdb.defaultLimit: The number of documents to fetch when viewing documents from a collection.mdb.show: Show or hide the MongoDB view.mdb.shell: The MongoDB shell to use (The new mongosh or the legacy mongo).Just open a Terraform file, type atlas and you are good to go.
Download mongodb plugin code#
If you use Terraform to manage your infrastructure, MongoDB for VS Code helps you get started with the MongoDB Atlas Provider. In the extension's settings you can switch between the two. The shell binary can be either the new MongoDB Shell ( mongosh) or the legacy mongo shell. The shell binary needs to be in your $PATH. Launch the MongoDB Shell from the command palette to quickly connect to the same cluster you have active in VS Code. You can open documents in an editor tab, edit them and save the changes back to MongoDB. MongoDB for VS Code makes it extremely easy to make changes to documents in your collections. You can't run a playground and you won't get completions if you are not connected. Make sure you are connected to a server or cluster before using a playground.
Run your playgrounds and see the results instantly.Prototype your queries, aggregations, and MongoDB commands with MongoDB syntax highlighting and intelligent autocomplete for MongoDB shell API, MongoDB operators, and for database, collection, and field names.
MongoDB Playgrounds are the most convenient way to prototype and execute CRUD operations and other MongoDB commands directly inside VS Code. Get a quick overview of your schema and your indexes.Edit documents and save changes to the database.Navigate your databases, collections, and read-only views.MongoDB for VS Code makes it easy to work with MongoDB, whether your own instance or in MongoDB Atlas.