Files
azuredatastudio/extensions/data-workspace/package.json
Drew Skwiers-Koballa 786d526e9c adds close workspace to data workspace view menu (#13809)
* adds close workspace to data workspace view menu

* moving vscode command out to main

* update context menu groups
2020-12-20 13:14:26 -08:00

171 lines
4.5 KiB
JSON

{
"name": "data-workspace",
"displayName": "%extension-displayName%",
"description": "%extension-description%",
"version": "0.1.0",
"publisher": "Microsoft",
"preview": true,
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
"icon": "images/extension.png",
"aiKey": "AIF-37eefaf0-8022-4671-a3fb-64752724682e",
"engines": {
"vscode": "*",
"azdata": ">=1.25.0"
},
"activationEvents": [
"*"
],
"main": "./out/main",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/azuredatastudio.git"
},
"extensionDependencies": [],
"contributes": {
"configuration": [
{
"title": "Projects",
"properties": {
"dataworkspace.projects": {
"type": "array",
"default": [],
"description": ""
},
"projects.defaultProjectSaveLocation": {
"type": "string",
"description": "%projects.defaultProjectSaveLocation%"
}
}
}
],
"commands": [
{
"command": "projects.new",
"title": "%new-command%",
"category": "%data-workspace-view-container-name%",
"icon": "$(add)"
},
{
"command": "projects.openExisting",
"title": "%open-existing-command%",
"category": "%data-workspace-view-container-name%",
"icon": "$(folder-opened)"
},
{
"command": "dataworkspace.refresh",
"title": "%refresh-workspace-command%",
"category": "",
"icon": "$(refresh)"
},
{
"command": "dataworkspace.close",
"title": "%close-workspace-command%",
"category": "",
"icon": "$(close)"
},
{
"command": "projects.removeProject",
"title": "%remove-project-command%"
}
],
"menus": {
"view/title": [
{
"command": "dataworkspace.refresh",
"when": "view == dataworkspace.views.main",
"group": "2_currentWorkspace"
},
{
"command": "dataworkspace.close",
"when": "view == dataworkspace.views.main && workbenchState == workspace",
"group": "3_commands"
},
{
"command": "projects.new",
"when": "view == dataworkspace.views.main",
"group": "1_navigation"
},
{
"command": "projects.openExisting",
"when": "view == dataworkspace.views.main",
"group": "1_navigation"
}
],
"commandPalette": [
{
"command": "projects.new"
},
{
"command": "dataworkspace.refresh",
"when": "false"
},
{
"command": "dataworkspace.close",
"when": "false"
},
{
"command": "projects.removeProject",
"when": "false"
},
{
"command": "projects.openExisting"
}
],
"view/item/context": [
{
"command": "projects.removeProject",
"when": "view == dataworkspace.views.main && viewItem == databaseProject.itemType.project",
"group": "9_dbProjectsLast@9"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "dataworkspace",
"title": "%data-workspace-view-container-name%",
"icon": "images/data-workspace.svg"
}
]
},
"views": {
"dataworkspace": [
{
"id": "dataworkspace.views.main",
"name": "%main-view-name%",
"contextualTitle": "%data-workspace-view-container-name%",
"icon": "images/data-workspace.svg",
"when": "isProjectProviderAvailable"
}
]
},
"viewsWelcome": [
{
"view": "dataworkspace.views.main",
"contents": "%projects-view-no-workspace-content%",
"when": "workbenchState != workspace"
},
{
"view": "dataworkspace.views.main",
"contents": "%projects-view-no-project-content%",
"when": "workbenchState == workspace && isProjectsViewEmpty"
}
]
},
"dependencies": {
"ads-extension-telemetry": "^1.0.0",
"vscode-nls": "^4.0.0"
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/sinon": "^9.0.4",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"should": "^13.2.3",
"sinon": "^9.0.2",
"typemoq": "^2.1.0",
"vscodetestcover": "^1.1.0"
}
}