remove project feature (#12297)

* remove project feature

* update test
This commit is contained in:
Alan Ren
2020-09-15 11:12:30 -07:00
committed by GitHub
parent 725e1b2ee3
commit 908a15d6a8
12 changed files with 104 additions and 4 deletions

View File

@@ -46,6 +46,10 @@
"title": "%refresh-workspace-command%",
"category": "",
"icon": "$(refresh)"
},
{
"command": "projects.removeProject",
"title": "%remove-project-command%"
}
],
"menus": {
@@ -69,6 +73,17 @@
{
"command": "dataworkspace.refresh",
"when": "false"
},
{
"command": "projects.removeProject",
"when": "false"
}
],
"view/item/context": [
{
"command": "projects.removeProject",
"when": "view == dataworkspace.views.main && viewItem == databaseProject.itemType.project",
"group": "9_dbProjectsLast@9"
}
]
},