add scheme filter to getLastActiveFile

This commit is contained in:
Martin Aeschlimann
2018-09-06 14:30:08 +02:00
parent 3a444bfeb1
commit 13722b94fa
10 changed files with 56 additions and 46 deletions

View File

@@ -370,7 +370,7 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
}
// TODO: Base the cwd on the last active workspace root
// const lastActiveWorkspaceRootUri = this._historyService.getLastActiveWorkspaceRoot('file');
// const lastActiveWorkspaceRootUri = this._historyService.getLastActiveWorkspaceRoot(Schemas.file);
// this.initialCwd = terminalEnvironment.getCwd(shellLaunchConfig, lastActiveWorkspaceRootUri, this._configHelper);
const initialCwd = os.homedir();