Skip to content 人中长痘痘什么原因| 幽门螺旋杆菌感染是什么意思| 怎么知道自己对什么过敏| 铁面无私是什么生肖| 任督二脉是什么意思| 轻度抑郁有什么症状| 心肾不交是什么意思| 7月27号是什么星座| 留守儿童什么意思| fish是什么意思| 什么的柳枝| 天兵神将是什么动物| 春天像什么| 什么是再生纤维素纤维| 梅毒吃什么药最好| 什么的温度| 用什么泡脚减肥最快| 1997年属什么生肖年| 早上打碎碗是什么兆头| 夏天脚冷是什么原因| wht什么颜色| 伤元气是什么意思| 歆字取名什么寓意| 轻食是什么| 脖子疼吃什么药| rolex是什么牌子的手表| 敕令是什么意思| 小狗发烧吃什么药| 发烧头晕吃什么药| 脱髓鞘病变是什么意思| 尿结石是什么症状| 东坡肉属于什么菜系| 干细胞能治什么病| 小分子肽能治什么病| 查肺部挂什么科| 日后好相见的前一句是什么| 吃什么助于睡眠| 股骨径是指胎儿什么| 肺气肿是什么原因引起的| 心胆气虚吃什么中成药| 芨芨草长什么样图片| 蒲公英泡水喝有什么副作用| 男人吃荔枝有什么好处| 三角形为什么具有稳定性| 宝宝风热感冒吃什么药| 美尼尔眩晕症吃什么药| 促销员是做什么的| 熊猫为什么吃竹子| 意思是什么意思| 五根手指叫什么| 什么时候种大白菜| 喉咙痒想咳嗽吃什么药| 成人达己是什么意思| 为什么心脏会隐隐作痛| 嘴巴长疱疹是什么原因| 白细胞酯酶阳性什么意思| 起水泡痒是什么原因| 宝贝什么意思| 籍贯是指什么| 纹身有什么讲究和忌讳| 不全纵隔子宫是什么意思| 肝血亏虚吃什么中成药调理| 每天放很多屁是什么原因| 答非所问是什么意思| 睡醒咳嗽是什么原因| 钓鱼执法什么意思| 施教区是什么意思| 什么是可支配收入| 迪士尼是什么意思| 低密度脂蛋白高有什么危害| 略施小计是什么动物| 为什么晚上睡觉会磨牙| 三伏天什么时候开始| 什么是全日制本科| 摩羯座的幸运花是什么| 卡哇伊是什么意思| 腰肌劳损什么症状| 小学生什么时候考试| 什么东西最伤肾| 手足口病吃什么药最好| 肚子疼吐了是什么原因| 弱精吃什么能提高活力| 换手率是什么意思| 下压高是什么原因引起的| 声援是什么意思| 子宫内膜薄有什么影响| 痛风吃什么药最好| hpv52阳性是什么病| 室内机漏水是什么原因| 七月七是什么节日| 料理机是干什么用的| 人情是什么意思| 儿童风热感冒吃什么药| 女性外阴痒用什么药| 沙茶是什么| 奡是什么意思| 画饼什么意思| 1.11是什么星座| 打耳洞不能吃什么| 什么是腰肌劳损| 什么是情人| 就义是什么意思| 喝断片了是什么意思| 东星斑为什么这么贵| 睡觉多梦是什么原因引起的| 健康证挂什么科| 低血糖平时要注意什么| fd是什么意思| serum是什么意思| 护理学什么| 高血压可以吃什么肉| 终板炎是什么病| 突然嗜睡是什么原因造成的| 脚真菌感染用什么药| 口腔苦味是什么原因| 转氨酶偏高是什么原因引起的| 吃什么不长肉| 龙筋是什么| 思密达是什么意思| 子宫息肉有什么症状| 烤鱼用什么鱼| 闺蜜是什么样的关系| 肾结石有什么症状哪里疼| 人生得意须尽欢是什么意思| 麦冬有什么作用| 眼发花是什么病的征兆| 真菌感染用什么药膏| 合菜是什么| 坐怀不乱是什么生肖| 对什么都不感兴趣| 孕吐反应什么时候开始| 嘴唇发麻是什么原因| 什么是桃花劫| 咽炎吃什么药效果最好| 品牌背书是什么意思| 肌酐高用什么药| 老黄瓜炖什么好吃| 感恩节吃什么| 江字五行属什么| 心脏主要由什么组织构成| 受精卵着床是什么意思| 夏天适合吃什么菜| 血半念什么| 鸡腿为什么这么便宜| 邓超的公司叫什么名字| 打豆豆什么意思| 25羟基维生素d是什么| 驱动精灵是干什么用的| 肩胛骨痛挂什么科| 据悉是什么意思| 椁是什么意思| 长征是什么意思| 铺天盖地的意思是什么| 腰椎退行性变什么意思| 粉底和气垫的区别是什么| 容易紧张是什么原因| 大便干燥是什么原因| 开金花是什么生肖| 口腔溃疡买什么药| 贫血的人吃什么水果| 干咳嗽无痰是什么原因| 热锅上的蚂蚁是什么意思| 人中浅的女人代表什么| 盆腔钙化灶是什么意思| 怀孕6个月吃什么好| 什么是一本| 舌苔白厚腻吃什么药见效快| 二氧化硅是什么氧化物| 恳请是什么意思| 凤梨跟菠萝有什么区别| mol是什么意思| 脑脊液白细胞高是什么原因| 什么情况需要做肠镜| 为什么南极比北极冷| 腰椎ct能查出什么| 单身领养孩子需要什么条件| bcc是什么意思| 花呗是什么意思| 为什么晚上不能晾衣服| 青龙是什么| gcp是什么意思| 血压表什么牌子的好最准确最耐用| 馊主意是什么意思| 摩尔是什么| 认识是什么意思| 狗尾巴草有什么功效| 退而求其次什么意思| 气压治疗是什么| 上课什么坐姿可以瘦腿| 4月3日什么星座| 衣服五行属什么| 吃饭容易出汗是什么原因| 舒张压是什么意思| 拍档是什么意思| 什么时机塞给医生红包| 足跟疼挂什么科室| 甲状腺回声不均匀什么意思| 6月份是什么星座的| 铁皮石斛能治什么病| 取缔役什么意思| 嘴角烂是什么原因| sp02是什么意思| 查血压高挂什么科室| 吃红萝卜有什么好处| 砥砺前行什么意思| 什么是生僻字| 卧底大结局是什么| 家里进黄鼠狼是什么预兆| 因为什么| 惊为天人是什么意思| 胃胀是什么感觉| 酉鬼念什么| 三七粉不适合什么人吃| 挂绿荔枝为什么那么贵| 睡觉流鼻血是什么原因| 火龙果跟什么榨汁好喝| 九知道指的是什么| 什么是钙化点| 高铁与动车的区别是什么| 封顶是什么意思| 睡意是什么意思| ccp是什么意思| 淋巴细胞偏高说明什么问题| 精液长什么样| 米索前列醇片是什么药| 早餐有什么| 一什么商店| 嘴干是什么病的征兆| 解落三秋叶的解是什么意思| 欢乐海岸有什么好玩的| 和女生聊什么话题| 属牛和什么属相相冲| 农业户口和非农业户口有什么区别| 蚊子喜欢什么味道| 曲水流觞是什么意思| 晏字五行属什么的| 吃什么可以补充雌激素| 尼麦角林片治什么病| 1月13是什么星座| 牛和什么属相相冲| 足癣用什么药膏| 鱼腥草与什么相克| 一个火一个华念什么| 喝什么解辣| 阶级是什么意思| 精索炎吃什么药最好| 从从容容的意思是什么| 睡眠不好用什么药调理| 1985年属牛的是什么命| 瑛字五行属什么| 乌龙茶适合什么季节喝| 党费什么时候开始交| 小妮子什么意思| 孕早期不能吃什么食物| mpr是什么意思| 属鸡在脖子上戴什么好| 逍遥丸是治什么的| 俎是什么意思| 26岁属什么的生肖| 蛇的贵人是什么生肖| 马住什么意思| 什么样的白带是怀孕了| 盆腔积液是什么意思啊| 三焦是什么器官| 百度
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MongoDB for VS CodeNew to Visual Studio Code??Get it now.
MongoDB for VS Code

未来5年青岛每年至少通一条地铁 建成四大枢纽

MongoDB

mongodb.com
|
2,490,326 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
皮肤偏黄适合穿什么颜色的衣服 腰扭伤用什么药最好 舌头疼挂什么科 男人小腹疼痛是什么原因 什么是升华
乙状结肠ca是什么意思 阴人是什么意思 慢性胆囊炎是什么原因引起的 秋分是什么意思 管型偏高说明什么问题
文火是什么意思 二月初二是什么星座 蓝桉什么意思 鹰击长空是什么意思 什么是三净肉
什么时候种香菜 曼字五行属什么 彗星尾征是什么意思 一什么斑点 圆脸适合什么镜框
薏米是什么米cl108k.com 白砂糖和冰糖有什么区别hcv9jop6ns5r.cn 韬字五行属什么hcv9jop0ns8r.cn 去脂体重什么意思hcv9jop8ns3r.cn 爆肝是什么意思hcv7jop6ns2r.cn
天字加一笔是什么字hcv9jop6ns3r.cn 2.21是什么星座hcv8jop8ns4r.cn 佛陀是什么意思hcv7jop7ns1r.cn 凝血酶时间是什么意思hcv9jop2ns9r.cn 感冒输液用什么药dajiketang.com
血氧低是什么原因liaochangning.com 挑担是什么意思kuyehao.com 急性肠胃炎可以吃什么食物hcv9jop2ns3r.cn 亚麻籽吃了有什么好处hcv7jop7ns0r.cn 月柱华盖是什么意思hcv7jop4ns6r.cn
蚝油是用什么做的hcv9jop1ns3r.cn 月经9天了还没干净是什么原因hcv9jop3ns4r.cn 吃什么丰胸效果好又快hcv8jop7ns0r.cn 什么是行政处罚hcv9jop0ns7r.cn 北芪煲汤加什么药材好hcv8jop9ns7r.cn
百度