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.
-
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.
10 votes -
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.
7 votes -
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 -
Integration of an Aggregation/Query Formater
Bad formatting of queries are a pain. Queries and specially Aggregation Pipelines can get quickly unreadable, unmaintaibable or miss understandable. To avoid this I'd like to ask for a code formater. There will be always a discussion of a good and better style, but at one point a suggestion is better than nothing. Here https://developer.mongodb.com/community/forums/t/what-are-some-of-the-biggest-mistakes-people-make-in-aggregation-pipelines/11803/4 you can find a brief discussion which triggered this request.
To get a kind of flexible the integration of a project wide config file might be interesting. The editorconfig https://editorconfig.org/ is supported by VSCode, simple text file, just check it with the code and it…4 votes -
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 -
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 -
Aggregation Pipeline or MapReduce
Be able to create aggregation pipeline or MapReduce with IntelliSense.
2 votes -
Write query with IntelliSense
The ability to write queries, with IntelliSense and see the results as JSON or Tables. The query language can be in MQL or SQL. The results can be exported as json, csv or excel.
2 votes -
1 vote
-
Formatting support for mongodb playground files.
There's no way that I can find to format the code in a .mongodb playground file.
At present, I need to manually change the file suffix to js, then use a hot-key to run prettier, then rename it back.
If there is a better way, I'd love to know it!
Thanks,
Kim
1 vote -
Translate Code
Directly translate code (MQL / SQL) to (MQL, SQL, .NET, Python...etc.) to cover all supported drivers.
1 vote -
Graph Visualizer
Be able to visualize graph relation and nodes and edges.
1 vote -
Allow launching mongodb shell with connections which are not currently connected
Currently, it's possible to launch the MongoDB Shell from an active connection.
It would be nice to have the action to launch a shell from also for inactive connections in the tree.
1 vote -
Proxy usage
Hello,
can you please implement a proxy configuration possibility?
I would like to use the client from within an corporate network.
Kind regards,
Holger Simon1 vote -
Ability to edit connections
Ability to edit existing connections.
1 vote -
Improvements to Terminal Shell
When a connection is setup, allow additional configuration for the Terminal Shell
Allow a colour scheme for the shell, so that the user can set background/text colours, so red for LIVE. Very useful when on LIVE/TEST/DEV etc. A clear indication of where you are.
Set a friendly name or full connection string for additional line in the terminal shell, so you can see where you are at all times, where you are connected to.
You can have multiple shells connected at anyone time and again it helps to see what that shell is connected to.
You only have to drop…
1 vote -
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": "....."
}
]1 vote -
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
- Don't see your idea?