diff --git a/src/vs/workbench/api/node/extHost.api.impl.ts b/src/vs/workbench/api/node/extHost.api.impl.ts index b59d4c636b0..0e8b6c00ce5 100644 --- a/src/vs/workbench/api/node/extHost.api.impl.ts +++ b/src/vs/workbench/api/node/extHost.api.impl.ts @@ -112,7 +112,6 @@ export function createApiFactory( const extHostEditors = col.define(ExtHostContext.ExtHostEditors).set(new ExtHostEditors(threadService, extHostDocumentsAndEditors)); const extHostCommands = col.define(ExtHostContext.ExtHostCommands).set(new ExtHostCommands(threadService, extHostHeapService)); const extHostExplorers = col.define(ExtHostContext.ExtHostExplorers).set(new ExtHostTreeExplorers(threadService, extHostCommands)); - // const extHostTree = col.define(ExtHostContext.ExtHostTree).set(new ExtHostTree(threadService, extHostCommands)); const extHostConfiguration = col.define(ExtHostContext.ExtHostConfiguration).set(new ExtHostConfiguration(threadService.get(MainContext.MainThreadConfiguration), initData.configuration)); const extHostDiagnostics = col.define(ExtHostContext.ExtHostDiagnostics).set(new ExtHostDiagnostics(threadService)); const languageFeatures = col.define(ExtHostContext.ExtHostLanguageFeatures).set(new ExtHostLanguageFeatures(threadService, extHostDocuments, extHostCommands, extHostHeapService, extHostDiagnostics)); diff --git a/src/vs/workbench/api/node/extHost.contribution.ts b/src/vs/workbench/api/node/extHost.contribution.ts index 934ed7c998c..87aca222da8 100644 --- a/src/vs/workbench/api/node/extHost.contribution.ts +++ b/src/vs/workbench/api/node/extHost.contribution.ts @@ -20,7 +20,6 @@ import { MainThreadDocuments } from './mainThreadDocuments'; import { MainThreadEditors } from './mainThreadEditors'; import { MainThreadErrors } from './mainThreadErrors'; import { MainThreadTreeExplorers } from './mainThreadTreeExplorers'; -import { MainThreadTree } from './mainThreadTree'; import { MainThreadLanguageFeatures } from './mainThreadLanguageFeatures'; import { MainThreadLanguages } from './mainThreadLanguages'; import { MainThreadMessageService } from './mainThreadMessageService'; @@ -76,7 +75,6 @@ export class ExtHostContribution implements IWorkbenchContribution { col.define(MainContext.MainThreadEditors).set(this.instantiationService.createInstance(MainThreadEditors, documentsAndEditors)); col.define(MainContext.MainThreadErrors).set(create(MainThreadErrors)); col.define(MainContext.MainThreadExplorers).set(create(MainThreadTreeExplorers)); - col.define(MainContext.MainThreadTree).set(create(MainThreadTree)); col.define(MainContext.MainThreadLanguageFeatures).set(create(MainThreadLanguageFeatures)); col.define(MainContext.MainThreadLanguages).set(create(MainThreadLanguages)); col.define(MainContext.MainThreadMessageService).set(create(MainThreadMessageService)); diff --git a/src/vs/workbench/api/node/extHost.protocol.ts b/src/vs/workbench/api/node/extHost.protocol.ts index 2a324eb9a91..1950f541ddc 100644 --- a/src/vs/workbench/api/node/extHost.protocol.ts +++ b/src/vs/workbench/api/node/extHost.protocol.ts @@ -458,7 +458,6 @@ export const MainContext = { MainThreadEditors: createMainId('MainThreadEditors', MainThreadEditorsShape), MainThreadErrors: createMainId('MainThreadErrors', MainThreadErrorsShape), MainThreadExplorers: createMainId('MainThreadExplorers', MainThreadTreeExplorersShape), - MainThreadTree: createMainId('MainThreadTree', MainThreadTreeShape), MainThreadLanguageFeatures: createMainId('MainThreadLanguageFeatures', MainThreadLanguageFeaturesShape), MainThreadLanguages: createMainId('MainThreadLanguages', MainThreadLanguagesShape), MainThreadMessageService: createMainId('MainThreadMessageService', MainThreadMessageServiceShape), @@ -491,6 +490,5 @@ export const ExtHostContext = { ExtHostExtensionService: createExtId('ExtHostExtensionService', ExtHostExtensionServiceShape), ExtHostTerminalService: createExtId('ExtHostTerminalService', ExtHostTerminalServiceShape), ExtHostSCM: createExtId('ExtHostSCM', ExtHostSCMShape), - ExtHostTree: createExtId('ExtHostTree', ExtHostTreeShape), ExtHostTask: createExtId('ExtHostTask', ExtHostTaskShape) }; diff --git a/src/vs/workbench/api/node/extHostTree.ts b/src/vs/workbench/api/node/extHostTree.ts index 014fa2209a4..78f4fdb56a2 100644 --- a/src/vs/workbench/api/node/extHostTree.ts +++ b/src/vs/workbench/api/node/extHostTree.ts @@ -2,7 +2,7 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; +/*'use strict'; import { TreeNode } from 'vscode'; import { TPromise } from 'vs/base/common/winjs.base'; @@ -124,4 +124,4 @@ export class ExtHostTree extends ExtHostTreeShape { return TPromise.as(null); } -} \ No newline at end of file +}*/ \ No newline at end of file diff --git a/src/vs/workbench/api/node/mainThreadTree.ts b/src/vs/workbench/api/node/mainThreadTree.ts index c70a2466aff..db4242e4f41 100644 --- a/src/vs/workbench/api/node/mainThreadTree.ts +++ b/src/vs/workbench/api/node/mainThreadTree.ts @@ -2,7 +2,7 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; +/*'use strict'; import { TPromise } from 'vs/base/common/winjs.base'; import Event, { Emitter } from 'vs/base/common/event'; @@ -62,3 +62,4 @@ class TreeExplorerNodeProvider implements InternalTreeExplorerNodeProvider { }); } } +*/ \ No newline at end of file