Corrects workspace project tree refresh behavior for adding new projects to the workspace (#16650) (#16710)

* bugfix and updates

* PR feedback

* Deferred promise for project disk scan

* fix casing

* fixing race condition on extension activation, test failure
This commit is contained in:
Benjin Dubishar
2021-08-11 12:22:17 -07:00
committed by GitHub
parent b0d3d06b5d
commit fd148e557b
12 changed files with 134 additions and 65 deletions

View File

@@ -59,7 +59,7 @@
{
"command": "dataworkspace.refresh",
"title": "%refresh-workspace-command%",
"category": "",
"category": "%data-workspace-view-container-name%",
"icon": "$(refresh)"
},
{
@@ -78,12 +78,12 @@
{
"command": "dataworkspace.refresh",
"when": "view == dataworkspace.views.main",
"group": "1_currentWorkspace"
"group": "navigation"
},
{
"command": "dataworkspace.close",
"when": "view == dataworkspace.views.main && workbenchState == workspace",
"group": "2_commands"
"group": "1_commands"
},
{
"command": "projects.new",