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
constmessage=`Not a valid workspace: ${uri.path.toString()}`;
101
+
this.messageService.error(message);
102
+
thrownewError(message);
103
+
}
104
+
// The same window has to be preserved too (instead of opening a new one), if the workspace root is not yet available and we are setting it for the first time.
105
+
// Option passed as parameter has the highest priority (for api developers), then the preference, then the default.
this.openWindow(stat,Object.assign(options??{},{ preserveWindow }));// Unlike Theia, IDE2 passes the whole `input` downstream and not only { preserveWindow }
117
+
return;
118
+
}
119
+
thrownewError(
120
+
'Invalid workspace root URI. Expected an existing directory or workspace file.'
121
+
);
122
+
}
123
+
124
+
/**
125
+
* Copied from Theia. Can pass the `options` further down the chain.
0 commit comments