Docs Home → MongoDB for VS Code
MongoDB for VS Code Settings
On this page本页内容
Preview预览
MongoDB for VS Code is currently available as a Preview in the Visual Studio Marketplace. The product, its features, and the corresponding documentation may change during the Preview stage.MongoDB for VS Code目前在Visual Studio市场上作为预览版提供。产品、其功能和相应的文档可能会在预览阶段发生更改。
This document lists the configurable settings for MongoDB for VS Code.本文档列出了MongoDB for VS Code的可配置设置。
Configure Settings配置设置
To configure MongoDB for VS Code settings:要为VS Code设置配置MongoDB,请执行以下操作:
Open the Settings View.打开“设置”视图。
Any | Visual Studio Code Menu | File / Code > Preferences > Settings |
MacOS | Press Command + , | |
Windows and Linux | Press Ctrl + , |
Settings设置
The following table lists the available settings for MongoDB for VS Code:下表列出了MongoDB for VS Code的可用设置:
Shell |
Important
Tip
| mongosh | ||||||||
Show | ||||||||||
100 | ||||||||||
Trace: Server | mongodbLanguageServer.trace.server property in your project's settings.json file.settings.json 文件中的mongodbLanguageServer.trace.server 属性编辑此设置。mongodbLanguageServer.trace.server object, you can specify:mongodbLanguageServer.trace.server 对象中,可以指定:
| { | ||||||||
| Global | |||||||||
10 | ||||||||||