Skip to content 女孩当兵需要什么条件| 艾草有什么功效| 杏仁有什么作用| kda是什么单位| 盆腔为什么有积液| 玉和翡翠有什么区别| 月经来了一点就没了是什么原因| 猪脆肠是什么器官| 脸肿是什么原因| 土克水是什么意思| 什么是肺磨玻璃结节| xswl是什么意思| 女是念什么| 粥米是什么米| barbour是什么牌子| 梦见烙饼是什么意思| 肌肉酸痛挂什么科| 什么叫屌丝| 中国防御系统叫什么| 鸡屁股叫什么| 男人为什么喜欢女人| 火加田读什么| 原浆是什么意思| 婚检都检查什么| cpb是什么牌子| 头昏是什么原因| 肾结石能吃什么| 鼻梁有横纹是什么原因| 为什么会有痰| 癌症病人吃什么| 玉溪烟属于什么档次| 陈皮和什么泡水喝最好| 壮的偏旁叫什么名字| 女生什么时候是排卵期| 体力不支是什么意思| 日是什么意思| 腿容易麻是什么原因| 头层牛皮除牛反绒是什么意思| 农村做什么生意赚钱| 鹅梨帐中香是什么| 变蛋吃多了有什么危害| 偷什么东西不犯法| 右眉上方有痣代表什么| 去医院看痘痘挂什么科| 木薯是什么| cpb是什么意思| 怀姜是什么姜| 预谋什么意思| 211985是什么意思| 左行气右行血什么意思| 五行海中金是什么意思| as是什么病| 肚子两侧疼是什么原因| 人的血压一天中什么时候最高| 98年的属什么| 喉咙有痰挂什么科| 红糖荷包蛋有什么功效| 三角区长痘痘是什么原因| 垂体催乳素高是什么原因| 百无一用是什么意思| 反流性咽喉炎吃什么药| 视线模糊是什么原因| 3.21什么星座| 趋利避害是什么意思| 苦瓜煮水喝有什么功效| 父亲节应该送什么| 蒙蒙的什么| 米酒发酸是什么原因| 为什么打喷嚏| 脊髓灰质炎是什么病| 颈动脉斑块吃什么药效果最好| 头皮特别痒是什么原因| eb病毒感染是什么病| 磁场是什么| 辅警是什么| 中午喜鹊叫有什么预兆| 血沉是查什么病的| 感冒不能吃什么水果| 百香果有什么功效与作用| 金骏眉是什么茶类| 低脂牛奶适合什么人喝| 没事在家可以做些什么| 软水是什么水| 一边脸大一边脸小是什么原因| 小孩肚子疼拉肚子吃什么药| 鲜章是什么意思| 女人盗汗吃什么好得快| 皮肤病用什么药膏好| 干什么赚钱| 治疗白斑最有效的方法是什么| 梭形是什么形状| 哺乳期吃什么下奶| 橡皮泥能做什么| 龙须菜是什么植物| 珊瑚红是什么颜色| 月经不调挂什么科室| 支气管炎是什么原因引起的| 梦见蟒蛇是什么预兆| 龙猫吃什么| 什么时候同房容易怀孕| 吃谷维素有什么副作用| 2001是什么年| 身上老出汗是什么原因引起的| 骨盆前倾有什么危害| 比值是什么| 小孩疳积有什么症状| gn是什么意思| 检查前列腺需要做什么检查| 什么不导电| 天地不仁以万物为刍狗是什么意思| 才能是什么意思| 什么是夹腿| 针眼是什么原因引起的| 高线是什么| 什么验孕棒准确率高| 什么死法不痛苦| 主治医师是什么级别| 肝不好吃什么药最好| zgo手表是什么牌子| angry是什么意思| 什么鸟好养又与人亲近| 黄皮什么时候上市| 女人的第二张脸是什么| 五险一金和社保有什么区别| 看睾丸去医院挂什么科| 脖子出汗是什么原因| 血脂四项包括什么| 人为什么会生病| 小鸭吃什么| 后妈是什么意思| 乙肝表面抗原携带者什么意思| 理数是什么| 泪囊炎用什么眼药水| 敬谢不敏是什么意思| 发offer是什么意思| 宝宝出牙晚是什么原因| 985是什么意思| 红米是什么米| 什么是氨基酸| 发烧吃什么食物比较好| 低筋面粉适合做什么| 血糖高是什么原因| 73年属牛的是什么命| 公约是什么意思| 1984年是什么年| 手指起倒刺是什么原因| 耳朵后面是什么穴位| 终板炎是什么病| 什么是ntr| 散光是什么原因导致的| 面瘫是什么原因引起的| 属鼠和什么属相相冲| 亨特综合症是什么病| 副连长是什么军衔| 老年人便秘吃什么药| 花开富贵是什么生肖| 吃花生米是什么意思| 晚上减肥吃什么| 茶色尿液提示什么病| 拔完智齿可以吃什么| 兔子能吃什么水果| 洋芋是什么| 三点水山今读什么| 抽烟手抖是什么原因| 百无一用是什么意思| 眼睛流泪是什么原因| 问号是什么意思| 疝外科是治什么病的| 靶向治疗是什么意思| 短效避孕药什么时候吃| 粉底和气垫的区别是什么| hcg值低是什么原因| 什么什么大什么| 植物神经功能紊乱吃什么药最好| 宝宝咳嗽挂什么科| 早期教育是什么专业| 诸君是什么意思| 咖啡因是什么东西| 细菌是什么| 身上出现白块什么原因| 夏至吃什么食物| 螳螂捕蝉黄雀在后是什么生肖| 孕酮低吃什么可以补| 螳螂吃什么食物| 骨质增生是什么症状| 手指头麻木吃什么药| 系统性红斑狼疮挂什么科| 荷花什么时候开放| 羊水偏多对胎儿有什么影响| 犯了痔疮为什么老放屁| 拔罐是什么原理| 属狗的是什么命| 乳腺钼靶是什么| 猫咖是什么| b站是什么| 婧读什么| 全可以加什么偏旁| 南笙是什么意思| nasa是什么意思| efw是胎儿的什么意思| 秦始皇长什么样| outdoor是什么意思| loser什么意思| 白砂糖和冰糖有什么区别| 猴子尾巴的作用是什么| 酸菜吃多了有什么危害| 银屑病是什么病| 指甲盖发紫是什么原因| 4.25是什么星座| 什么茶最好喝| 韩语思密达是什么意思| 世界7大奇迹是什么| 梦见别人给自己剪头发是什么意思| 谷氨酰转肽酶偏高是什么意思| abi医学上是什么意思| 吊兰开花有什么兆头| 眼睛发热是什么原因| 转氨酶高吃什么| 五个月宝宝吃什么辅食最好| 无性恋是什么| 顶臂长是什么意思| 右上眼皮跳是什么预兆| 女命七杀代表什么| 猪八戒有什么优点| nuskin是什么牌子| 老日念什么| 化疗后骨髓抑制是什么意思| 孩子长个子吃什么有利于长高| 社保卡是什么样的图片| 哈达是什么意思| 什么房不能住人| 九月29号是什么星座| 理疗和按摩有什么区别| 吡唑醚菌酯治什么病| 水肺潜水是什么意思| 什么是桑黄| 百香果的籽有什么功效| 为什么不要看电焊火花| 真菌感染是什么引起的| 莴苣是什么| 胃酸胃胀反酸水吃什么药| 1966年属什么| 曷是什么意思| 什么是高热量食物有哪些| 九眼天珠适合什么人戴| 义愤填膺是什么意思| 探望产妇带什么礼物好| 吃什么对皮肤好还能美白的| 志趣相投是什么意思| 七月十五是什么节| 慢性非萎缩性胃炎吃什么药| 天天晚上睡觉做梦是什么原因| 林黛玉是个什么样的人| 香蕉为什么是弯的| 真皮是什么皮| gigi是什么意思| 流鼻子打喷嚏吃什么药| 7月1号是什么节日| 仓鼠能吃什么水果| 高钾血症是什么原因引起的| 什么是直肠炎| 20年是什么婚| 猪朋狗友是什么意思| 浙江有什么特产| 百度
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MongoDB for VS CodeNew to Visual Studio Code??Get it now.
MongoDB for VS Code

阴道有豆腐渣用什么药

MongoDB

mongodb.com
|
2,490,778 installs
| (40) | Free
Connect to MongoDB and Atlas directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to prototype queries and aggregations.
Install
Trouble Installing?

MongoDB for VS Code

百度 今天或许是背靠背比赛、体能受到影响的缘故,周琦的状态依旧低迷。

Build Status

MongoDB for VS Code makes it easy to work with your data in MongoDB directly from your VS Code environment. MongoDB for VS Code is the perfect companion for MongoDB Atlas, but you can also use it with your self-managed MongoDB instances.

MongoDB for VS Code demo video call to action

Features

Navigate your MongoDB Data

  • Navigate your databases, collections, and read-only views
  • See the documents in your collections
  • Edit documents and save changes to the database
  • Get a quick overview of your schema and your indexes

Read more about this functionality in the online documentation.

Explore data with MongoDB for VS Code

MongoDB Playgrounds

MongoDB Playgrounds are the most convenient way to prototype and execute CRUD operations and other MongoDB commands directly inside VS Code.

  • Prototype your queries, aggregations, and MongoDB commands with convenient syntax highlighting and intelligent autocomplete for MongoDB Shell API, BSON types, MongoDB Query API, system variables, and for database, collection, and field names.
  • Run your playgrounds and see the results instantly. Click the play button in the tab bar to see the output.
  • Edit documents returned by your playground.
  • Save your playground together with your application code to always have a place where all your queries are documented and can be tested just with one click.

Playgrounds

Note: Make sure you are connected to a server or cluster before using a playground. You can't run a playground and you won't get intelligent completions if you are not connected.

From Query API to your favorite language

Select queries and aggregations within your Playground files and translate them into your favorite programming language. Supported languages are:

  • Java
  • Node.js
  • C#
  • Python 3
  • Ruby
  • Go
  • Rust
  • PHP

Export to language

Document Editing

Editing documents with MongoDB for VS Code is as natural as editing any file in the code editor. Open a document in an editor tab, edit it, and save the changes back to MongoDB.

Document editing

Quick access to the MongoDB Shell

Launch the MongoDB Shell from the command palette to quickly connect to the same cluster you have active in VS Code.

MongoDB Shell

Note: The mongosh binary needs to be in your $PATH. You can download the mongosh from the MongoDB Download Center.

Terraform snippet for MongoDB Atlas

If you use Terraform to manage your infrastructure, MongoDB for VS Code helps you get started with the MongoDB Atlas Provider. Just open a Terraform file, type atlas and you are good to go.

Terraform snippet

Atlas Stream Processing

Connect to Atlas Stream Processing instances and develop stream processors using playgrounds.

Atlas Stream Processing Playground

MongoDB Copilot Participant

Use natural language to interact with your clusters and generate MongoDB-related code with GitHub Copilot Chat in VS Code.

Note: To use the MongoDB Participant, you must have the GitHub Copilot extension. By using Copilot Chat you agree to GitHub Copilot chat preview terms. Find more details about the MongoDB GenAI Features in the FAQ.

How to use the MongoDB Participant

  1. Enter @MongoDB in the chat input field to start a conversation with the MongoDB Participant.

MongoDB Participant

  1. Start typing / in the chat window to get the list of available chat participant commands.

MongoDB Participant Commands

  • /docs is a participant command that finds answers to coding-related questions in the MongoDB documentation.
  • /query is a participant command that generates MongoDB queries from natural language to be used with a connected MongoDB cluster. It generates both queries and aggregations depending on the complexity of the request. It utilizes schema to reduce model hallucinations. It provides a code action to open generated code in a playground and an action to directly run the code from the Copilot chat interface.
  • /schema is a participant command that analyzes and returns information about a collection's schema.

Extension Settings

Setting Description Default
mdb.shell The MongoDB shell to use ( mongosh or the legacy mongo ). mongosh
mdb.showMongoDBConnectionExplorer Show or hide the MongoDB Connection explorer. true
mdb.showMongoDBPlaygrounds Show or hide the MongoDB Playgrounds explorer. true
mdb.showMongoDBHelpExplorer Show or hide the MongoDB Help panel. true
mdb.defaultLimit The number of documents to fetch when viewing documents from a collection. 10
mdb.confirmRunAll Show a confirmation message before running commands in a playground. true
mdb.confirmRunCopilotCode Show a confirmation message before running code generated by the MongoDB participant. true
mdb.useSampleDocsInCopilot Enable sending sample field values with the VSCode copilot chat @MongoDB participant /query command. false
mdb.confirmDeleteDocument Show a confirmation message before deleting a document in the tree view. true
mdb.persistOIDCTokens Remain logged in when using the MONGODB-OIDC authentication mechanism for MongoDB server connection. Access tokens are encrypted using the system keychain before being stored. true
mdb.showOIDCDeviceAuthFlow Opt-in and opt-out for diagnostic and telemetry collection. true
mdb.browserCommandForOIDCAuth Command to be used as browser for facilitating OIDC auth redirects ""
mdb.excludeFromPlaygroundsSearch Exclude files and folders while searching for playground files in the current workspace. Refer to package.json
mdb.connectionSaving. defaultConnectionSavingLocation When the setting that hides the option to choose where to save new connections is checked, this setting sets if and where new connections are saved. Global
mdb.useDefaultTemplateForPlayground Choose whether to use the default template for playground files or to start with an empty playground editor. true
mdb.uniqueObjectIdPerCursor The default behavior is to generate a single ObjectId and insert it on all cursors. Set to true to generate a unique ObjectId per cursor instead. false
mdb.sendTelemetry Opt-in and opt-out for diagnostic and telemetry collection. true
mdb.confirmRunCopilotCode Show a confirmation message before running code generated by the MongoDB participant. true
mdb.useSampleDocsInCopilot Enable sending sample field values with the VSCode copilot chat @MongoDB participant /query command. false

Additional Settings

Autocomplete

Note: these global settings affect how MongoDB for VS Code provides intelligent autocomplete inside snippets and string literals (off by default). Changing the default configuration may affect the behavior and performance of other extensions and of VS Code itself. If you do not change the default settings, you can still trigger intelligent autocomplete inside a snippet or string literal with Ctrl+Space.

  • editor.suggest.snippetsPreventQuickSuggestions: By default, VS Code prevents code completion in snippet mode (editing placeholders in inserted code). Setting this to false allows snippet (eg. $match, $addFields) and field completion based on the document schema for the db.collection.aggregate() expressions.
  • editor.quickSuggestions: By default, VS Code prevents code completion inside string literals. To enable database names completions for use('dbName') expression use this configuration:
"editor.quickSuggestions": {
  "other": true,
  "comments": false,
  "strings": true
}

Syntax Highlighting

MongoDB playgrounds are JavaScript files, which causes JavaScript syntax highlighting to override any customizations made to the MongoDB syntax colors.

Currently, there is no way to resolve this except for turning off semantic highlighting for a current workspace, or for all themes that are being used by setting editor.semanticHighlighting.enabled to false.

Telemetry

MongoDB for VS Code collects usage data and sends it to MongoDB to help improve our products and services. Read our privacy policy to learn more. If you don’t wish to send usage data to MongoDB, you can opt-out by setting mdb.sendTelemetry to false in the extension settings.

Contributing

For issues, please create a ticket in our JIRA Project.

For contributing, please refer to CONTRIBUTING.md.

Is there anything else you’d like to see in MongoDB for VS Code? Let us know by submitting suggestions in our feedback forum.

Building and Installing from Source

You can clone this repository and install the extension in your VS Code with:

npm install
npm run local-install

This will compile and package MongoDB for VS Code into a .vsix file and add the extension to your VS Code.

To install this locally on Windows:

npm install
.\node_modules\.bin\vsce.cmd package
code --install-extension ./mongodb-vscode-*.vsix

This will compile and package MongoDB for VS Code into a .vsix file and add the extension to your VS Code.

If you get an error because the code command is not found, you need to install it in your $PATH.

Open VS Code, launch the Command Palette (?+Shift+P on macOS, Ctrl+Shift+P on Windows and Linux), type code and select "Install code command in $PATH".

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
? 2025 Microsoft
子宫肌瘤做什么检查能查出来 什么是大男子主义 沉香是什么味道 来例假吃什么水果 眼镜什么品牌好
小孩感冒发烧吃什么药 儿童脾胃不好吃什么调理脾胃 楷字五行属什么 韩束适合什么年龄段的人用 房奴什么意思
什么官许愿 经常流鼻血是什么病的前兆 风热感冒咳嗽吃什么药 膝盖疼痛挂什么科 领袖是什么意思
手上蜕皮是什么原因 g6pd是什么 心肌缺血是什么症状 九月二十三是什么星座 椰子不能和什么一起吃
腿脚肿胀是什么原因引起的tiangongnft.com 为什么鞋子洗了还是臭hcv7jop7ns3r.cn 64年属什么hcv7jop9ns4r.cn 带状疱疹挂什么科室hcv9jop3ns3r.cn 草字头见念什么hcv8jop0ns9r.cn
maybach是什么车hcv9jop3ns4r.cn 死有余辜是什么意思hcv9jop7ns2r.cn 88年的龙是什么命hcv8jop9ns1r.cn 为什么喝酒后会头疼hcv9jop6ns8r.cn 尿道口下裂是什么样子hcv8jop8ns6r.cn
梦见猪肉是什么意思hcv8jop5ns9r.cn 混剪是什么意思hcv9jop3ns5r.cn 最大的淡水湖是什么湖hcv9jop7ns2r.cn 鼻子上火是什么原因引起的xinjiangjialails.com 七匹狼男装是什么档次bfb118.com
诱发电位是检查什么病的hcv9jop2ns5r.cn 心肌缺血吃什么药效果最好hcv8jop9ns9r.cn 舒肝解郁胶囊治什么病hcv7jop5ns1r.cn 检查梅毒挂什么科hcv9jop1ns8r.cn 泡脚不出汗是什么原因hcv7jop6ns3r.cn
百度