Adds support for multiple editor workspaces on initialization

This is a quick, partial fix for #1104
This commit is contained in:
Roberto Vidal 2019-04-11 08:08:19 +02:00
parent 23b876bc3b
commit 3507bcb97a
5 changed files with 40 additions and 31 deletions

View file

@ -17,13 +17,6 @@ export class Server {
let folder: string = '.';
if (workspace.workspaceFolders !== undefined) {
folder = workspace.workspaceFolders[0].uri.fsPath.toString();
if (workspace.workspaceFolders.length > 1) {
// Tell the user that we do not support multi-root workspaces yet
window.showWarningMessage(
'Multi-root workspaces are not currently supported'
);
}
}
const run: lc.Executable = {