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.
51 results found
-
Handle 64bit numbers correctly
Javascript doesn't support 64bit internally, so if I try in Chrome/console: x = 285870311191169181, it becomes 285870311191169180, and the same thing happens in VS Code.
The solution would be to return a NumberLong("285870311191169181") text result.
In fact, it seems to be an issue in Compass as well... but it works in mongo shell.
Check the screenshot.1 vote -
Please let the toolkit refresh database status more freequently
Please let the toolkit refresh database status more freequently.
You guys can having a try,to use playground create a new database,and then the database status doesnt appear the new database at all.Just need reloading VS Code and then i could found that there was a new database.1 vote -
Code linting when you save a .mongodb file
It would be nice to have the code cleaned up when you save a .mongodb file
1 vote -
New Playground Result tab for each query
When two playgrounds are run at once (e.g. two aggregations), the result of one overwrites the result of the other rather than opening a new 'Playground Result' tab.
The desired behaviour is for a new Playground Result tab to be opened per run (preferably numbered 'Playground Result 1', 'Playground Result 2', etc.
1 vote -
Translate Code
Directly translate code (MQL / SQL) to (MQL, SQL, .NET, Python...etc.) to cover all supported drivers.
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 -
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 -
Add syntax checking for JS and JSON
The editor does not sense and redline JSON syntax errors. To work around this, I switch the file association to “JavaScript” whenever I am seriously editing a pipeline. Then I switch the file association back to “MongoDB” just before testing/executing the pipeline. This is inconvenient.
0 votes -
New Playground Result tab for each query
When two playgrounds are run at once (e.g. two aggregations), the result of one overwrites the result of the other rather than opening a new 'Playground Result' tab.
The desired behaviour is for a new Playground Result tab to be opened per run (preferably numbered 'Playground Result 1', 'Playground Result 2', etc.
0 votes
- Don't see your idea?