{"id":13829030,"url":"https://github.com/microsoft/vscode-cosmosdb","last_synced_at":"2025-10-11T00:12:00.222Z","repository":{"id":24101934,"uuid":"100298835","full_name":"microsoft/vscode-cosmosdb","owner":"microsoft","description":"Azure Cosmos DB extension for VS Code","archived":false,"fork":false,"pushed_at":"2025-10-06T06:55:45.000Z","size":42509,"stargazers_count":181,"open_issues_count":108,"forks_count":74,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-10-10T00:14:07.558Z","etag":null,"topics":["azure-cosmos-db","cosmos-db","microsoft","nosql","vscode"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-14T18:43:46.000Z","updated_at":"2025-10-06T17:04:09.000Z","dependencies_parsed_at":"2023-02-10T11:16:00.702Z","dependency_job_id":"cc34de55-7c64-4900-874c-8a39e466ceb4","html_url":"https://github.com/microsoft/vscode-cosmosdb","commit_stats":{"total_commits":1015,"total_committers":43,"mean_commits":23.6046511627907,"dds":0.8177339901477833,"last_synced_commit":"f0f4e0db22cc1ca0020a74c061ee13f81a3ac097"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"purl":"pkg:github/microsoft/vscode-cosmosdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-cosmosdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-cosmosdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-cosmosdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-cosmosdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/vscode-cosmosdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fvscode-cosmosdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005649,"owners_count":26083940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-cosmos-db","cosmos-db","microsoft","nosql","vscode"],"created_at":"2024-08-04T09:03:29.078Z","updated_at":"2025-10-11T00:12:00.217Z","avatar_url":"https://github.com/microsoft.png","language":"TypeScript","funding_links":[],"categories":["postgresql","TypeScript"],"sub_categories":[],"readme":"# Azure Cosmos DB for VS Code (Preview)\r\n\r\n\u003c!-- region exclude-from-marketplace --\u003e\r\n\r\n[![Version](https://img.shields.io/visual-studio-marketplace/v/ms-azuretools.vscode-cosmosdb.svg)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb)\r\n[![Installs](https://img.shields.io/visual-studio-marketplace/i/ms-azuretools.vscode-cosmosdb.svg)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb)\r\n[![Build Status](https://dev.azure.com/msdata/CosmosDB/_apis/build/status%2FVSCode%20Extensions%2Fvscode-cosmosdb?repoName=microsoft%2Fvscode-cosmosdb\u0026branchName=main)](https://dev.azure.com/msdata/CosmosDB/_build/latest?definitionId=51963\u0026repoName=microsoft%2Fvscode-cosmosdb\u0026branchName=main)\r\n\r\n\u003c!-- endregion exclude-from-marketplace --\u003e\r\n\r\nBrowse, manage, and query your Azure Cosmos DB databases both locally and in the cloud with support for **Azure Cosmos DB for NoSQL**.\r\n\r\n![Azure Cosmos DB Extension](resources/readme/overview.gif)\r\n\r\n\u003e Sign up today for your free Azure account and receive 12 months of free popular services, $200 free credit and 25+ always free services 👉 [Start Free](https://azure.microsoft.com/free/open-source).\r\n\r\n# Features\r\n\r\n## Azure Cosmos DB Explorer\r\n\r\nThe Azure Cosmos DB Explorer helps you find, view, and manage your Azure CosmosDB databases.\r\n\r\n- **Discover Database Accounts**: scan your Azure subscription for available database accounts and get a structured list of your resources.\r\n\r\n- **Open in Azure Portal**: Access database servers directly in the Azure portal.\r\n\r\n- **Manage Databases**: View, create, and delete databases, collections, stored procedures, and documents.\r\n\r\n- **Edit Documents and Queries**: Open documents, stored procedures, and queries in the editor.\r\n\r\n- **Save Changes**: Make updates and persist them to the cloud.\r\n\r\n- **Workspace Support**: Attach database accounts to your workspace using connection strings. This is especially useful for teams working with shared resources from various subscriptions.\r\n\r\n## Query Editor\r\n\r\nThe Query Editor allows you to write and execute queries across your databases.\r\n\r\n- **Rich Syntax Highlighting**: Highlights query syntax to make it more readable and help prevent errors.\r\n\r\n- **Query History**: Automatically saves previously executed queries, allowing you to open and reuse them later.\r\n\r\n- **Run Queries**: Execute queries and view results in Table, JSON, or Tree view.\r\n\r\n- **Export Results**: Provides options to copy query results as JSON or CSV or to save them to a file for later use.\r\n\r\n- **Pagination**: Adjust how many results are displayed at a time when working with large datasets.\r\n\r\n- **Query Insights and Index Advisor**: Displays key details such as execution time, resource consumption, and indexing recommendations.\r\n\r\n- **Edit Documents**: Open, update, and save individual documents.\r\n\r\n- **Create New Documents**: Write and validate documents with syntax highlighting.\r\n\r\n![Query Editor with Results](resources/readme/queryEditor.png)\r\n\r\n### Keyboard Shortcuts\r\n\r\nThe Azure Cosmos DB extension supports various keyboard shortcuts to improve your productivity when working with queries and documents.\r\n\r\nFor a complete list of keyboard shortcuts, see [Keyboard Shortcuts](docs/hotkeys/01_keyboard_shortcuts.md).\r\n\r\n## Import into Azure Cosmos DB\r\n\r\nThe extension allows you to import documents into CosmosDB.\r\n\r\n- **Workspace Integration**: Use the context menu of a collection or document file (JSON) to initiate import.\r\n\r\n  ![Import documents](resources/readme/import_documents.gif)\r\n\r\n## Attach to the Azure Cosmos DB Emulator\r\n\r\nAttach the Azure Cosmos DB Emulator to work with a local instance of Azure Cosmos DB for development and testing purposes.\r\n\r\n- **Emulator Installation**: Install and run the [Azure Cosmos DB Emulator](https://docs.microsoft.com/azure/cosmos-db/local-emulator) on your local machine.\r\n\r\n- **New Emulator Connection**: Expand 'CosmosDB Accounts', next expand 'Local Emulators', and select 'New Emulator Connection' to link the emulator to your workspace.\r\n\r\n## Known Issues\r\n\r\n\u003e [!WARNING]\r\n\u003e Support for previously included features such as Universal MongoDB and PostgreSQL has been moved to separate extensions. You can find the [DocumentDB Extension for VS Code](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-documentdb) and the [PostgreSQL Extension for VS Code](https://marketplace.visualstudio.com/items?itemName=ms-ossdata.vscode-pgsql).\r\n\r\nHere are some known issues and limitations to be aware of when using the Azure Cosmos DB extension:\r\n\r\n- **Table Viewing/Editing**: Viewing and editing tables is not currently supported by the extension.\r\n\r\n- **Escaped Characters in Scrapbooks**: Scrapbook support for escaped characters is preliminary. Use double escaping for newlines (`\\\\n` instead of `\\n`). If you find issues, report them to [#937](https://github.com/Microsoft/vscode-cosmosdb/issues/937).\r\n\r\n\u003c!-- region exclude-from-marketplace --\u003e\r\n\r\n# How to Contribute\r\n\r\nThis project welcomes contributions and suggestions. To contribute, see these documents:\r\n\r\n- [Code of Conduct](./CODE_OF_CONDUCT.md)\r\n- [Security](./SECURITY.md)\r\n- [Contributing](./CONTRIBUTING.md)\r\n\r\n\u003c!-- endregion exclude-from-marketplace --\u003e\r\n\r\n# Telemetry\r\n\r\nVS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our [privacy statement](https://go.microsoft.com/fwlink/?LinkID=528096\u0026clcid=0x409) to learn more. If you don’t wish to send usage data to Microsoft, you can set the `telemetry.enableTelemetry` setting to `false`. Learn more in our [FAQ](https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting).\r\n\r\n**Data Collection.** The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.\r\n\r\n# License\r\n\r\n[MIT](LICENSE.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fvscode-cosmosdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fvscode-cosmosdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fvscode-cosmosdb/lists"}