mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
data workspace extension batch 2 (#12208)
* work in progress * load projects in view and test cases * update scope * make the sql proj menu available in workspace view * add extension unit test * address comments * fix errors
This commit is contained in:
@@ -20,20 +20,41 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/Microsoft/azuredatastudio.git"
|
||||
},
|
||||
"extensionDependencies": [
|
||||
"microsoft.mssql"
|
||||
],
|
||||
"extensionDependencies": [],
|
||||
"contributes": {
|
||||
"configuration": [
|
||||
{
|
||||
"title": "Projects",
|
||||
"properties": {
|
||||
"dataworkspace.projects": {
|
||||
"type": "array",
|
||||
"default": [],
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
{
|
||||
"command": "projects.addProject",
|
||||
"title": "%add-project-command%",
|
||||
"category": "",
|
||||
"icon": "$(add)"
|
||||
},
|
||||
{
|
||||
"command": "dataworkspace.refresh",
|
||||
"title": "%refresh-workspace-command%",
|
||||
"category": "",
|
||||
"icon": "$(refresh)"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
"view/title": [
|
||||
{
|
||||
"command": "dataworkspace.refresh",
|
||||
"when": "view == dataworkspace.views.main",
|
||||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "projects.addProject",
|
||||
"when": "view == dataworkspace.views.main",
|
||||
@@ -44,6 +65,10 @@
|
||||
{
|
||||
"command": "projects.addProject",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "dataworkspace.refresh",
|
||||
"when": "false"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user