You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We need to have a multi-root workspace to make quick query work
99
+
// at all. Changing the workspace from single-root to multi-root
100
+
// causes a restart of the whole extension host environment, so we
101
+
// basically can't do anything that survives that restart.
102
+
//
103
+
// So if we are currently in a single-root workspace (of which the
104
+
// only reliable signal appears to be `workspace.workspaceFile`
105
+
// being undefined) just let the user know that they're in for a
106
+
// restart.
107
+
if(workspace.workspaceFile===undefined){
108
+
constmakeMultiRoot=awaithelpers.showBinaryChoiceDialog('Quick query requires multiple folders in the workspace. Reload workspace as multi-folder workspace?');
0 commit comments