Visual Studio Code Settings
On this page
This document lists the configurable settings for VS Code Extension.
Configure Settings
To configure VS Code Extension settings:
Settings
The following table lists the available settings for VS Code Extension:
Setting | Description | Default | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Shell | MongoDB shell to use. Choose either:
To launch your selected MongoDB shell, you must:
If you install a new version of your MongoDB shell, you will need to
update your
|
| ||||||||
Show | If enabled, shows the MongoDB view in the Visual Studio Code left navigation panel. | Enabled | ||||||||
Max Number of Problems | The maximum number of problems VS Code Extension will generate in the Visual Studio Code Problems view. |
| ||||||||
Trace: Server | MongoDB language server logging settings. Edit this setting through the
Within the
Output logs are viewable by selecting MongoDB Language Server from the dropdown in the Output view, or with the Language Server Protocol Inspector. |
| ||||||||
Confirm Run All | If enabled, shows a confirmation message before running commands in a playground. | Enabled | ||||||||
Default Connection Saving Location | Sets if and where new connections are saved. You can select:
|
| ||||||||
Hide Option To Choose Where To Save New Connections | If disabled, you are prompted to choose where to save each new connection. If enabled, new connections are automatically saved to the Default Connection Saving Location without prompt. | Enabled | ||||||||
Default Limit | Number of documents to fetch when viewing documents from a collection. Does not affect playground operations. |
| ||||||||
Send Telemetry | If enabled, allows the collection of anonymous diagnostic and usage telemetry data to help improve VS Code Extension. | Enabled | ||||||||
Use Default Template For Playground | If enabled, playground files load with a template containing sample commands. If disabled, playground files load with an empty playground editor. | Enabled |