VS Code extension for Cosmos DB Graph databases.
Перейти к файлу
Eric Jizba d2456cf343 Clean up shared tree provider code
1. Rename files to match class names
1. Remove some unused imports
2017-11-29 00:49:21 +00:00
.vscode Display graphs 2017-11-03 17:32:49 -07:00
grammar Fix grammar to exclude , in string 2017-05-11 17:07:35 +02:00
resources Leverage shared azure tree provider 2017-11-29 00:49:21 +00:00
src Clean up shared tree provider code 2017-11-29 00:49:21 +00:00
test Don't re-use gremlin query for edges, fixes #184 (#206) 2017-11-15 16:23:58 -08:00
.gitignore Don't re-use gremlin query for edges, fixes #184 (#206) 2017-11-15 16:23:58 -08:00
.travis.yml Remove osx from travis 2017-11-20 16:11:50 +00:00
.vscodeignore Add vscodeignore 2017-11-21 21:46:27 +00:00
CHANGELOG.md Prep for 0.2.1 release (#216) 2017-11-16 19:05:45 +00:00
LICENSE.md Prep for publish 2017-06-09 14:39:09 -07:00
README.md Update gifs 2017-11-10 21:31:45 +00:00
package-lock.json Clean up shared tree provider code 2017-11-29 00:49:21 +00:00
package.json Refactor edit & persist to work with shared tree provider 2017-11-29 00:49:21 +00:00
thirdpartynotices.txt Leverage shared azure tree provider 2017-11-29 00:49:21 +00:00
tsconfig.json Clean up 2017-11-06 16:23:49 -08:00

README.md

Cosmos DB Support for VS Code (Preview)

Prerequisites

Features

Cosmos DB Explorer

  • Create a Cosmos DB account by clicking the + button in the title
  • View Azure Cosmos DB accounts and open directly in the portal
  • View/Create/Delete databases, collections, graphs, and documents
  • Click on a document to open in the editor
  • Click on a graph to visualize data
  • Query graph using Gremlin
  • Edit a document and persist changes to the cloud
  • Attach a Mongo server by clicking the plug icon in the title

*Support for Table accounts in CosmosDB is coming soon!

Mongo "Scrapbooks"

  • Configure the user setting mongo.shell.path to your mongo shell executable path
  • Click on any DB to open the Mongo shell playground editor
  • Enter your scripts, eg: db.<collectionName>.find()
  • IntelliSense (completions) will be provided as you write your scripts
  • Select the script and press CMD+" (CTRL+" on Windows and Linux) to see the results

Sign in to Azure to view your Cosmos DB Accounts

Azure Sign In

Use Gremlin to query graphs

Query Graphs

Create a Cosmos DB Account

Create Cosmos DB Account

Create and Run Mongo Commands in a Scrapbook with Rich Intellisense

Mongo Intellisense

Contributing

There are a couple of ways you can contribute to this repo:

  • Ideas, feature requests and bugs: We are open to all ideas and we want to get rid of bugs! Use the Issues section to either report a new issue, provide your ideas or contribute to existing threads.
  • Documentation: Found a typo or strangely worded sentences? Submit a PR!
  • Code: Contribute bug fixes, features or design changes:
    • Clone the repository locally and open in VS Code.
    • Open the terminal (press CTRL+`) and run npm install.
    • To build, press F1 and type in Tasks: Run Build Task.
    • Debug: press F5 to start debugging the extension.

Before we can accept your pull request you will need to sign a Contribution License Agreement. All you need to do is to submit a pull request, then the PR will get appropriately labelled (e.g. cla-required, cla-norequired, cla-signed, cla-already-signed). If you already signed the agreement we will continue with reviewing the PR, otherwise system will tell you how you can sign the CLA. Once you sign the CLA all future PR's will be labeled as cla-signed.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Telemetry

VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you dont wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.

License

MIT