workspace context 💄

This commit is contained in:
Benjamin Pasero
2016-12-21 18:22:46 +01:00
parent 68a4cb8621
commit e179ec75ab
25 changed files with 56 additions and 43 deletions

View File

@@ -85,7 +85,7 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
const extHostMessageService = new ExtHostMessageService(threadService);
const extHostStatusBar = new ExtHostStatusBar(threadService);
const extHostOutputService = new ExtHostOutputService(threadService);
const workspacePath = contextService.getWorkspace() ? contextService.getWorkspace().resource.fsPath : undefined;
const workspacePath = contextService.hasWorkspace() ? contextService.getWorkspace().resource.fsPath : undefined;
const extHostWorkspace = new ExtHostWorkspace(threadService, workspacePath);
const extHostLanguages = new ExtHostLanguages(threadService);