diff --git a/src/vs/workbench/services/search/node/searchService.ts b/src/vs/workbench/services/search/node/searchService.ts index 99dadc8d170..05af82a6404 100644 --- a/src/vs/workbench/services/search/node/searchService.ts +++ b/src/vs/workbench/services/search/node/searchService.ts @@ -22,8 +22,6 @@ import { ISearchChannel, SearchChannelClient } from './searchIpc'; import { IEnvironmentService } from 'vs/platform/environment/common/environment'; import { ResourceMap } from 'vs/base/common/map'; -import { IOutputService } from 'vs/workbench/parts/output/common/output'; - export class SearchService implements ISearchService { public _serviceBrand: any; @@ -34,8 +32,7 @@ export class SearchService implements ISearchService { @IUntitledEditorService private untitledEditorService: IUntitledEditorService, @IEnvironmentService environmentService: IEnvironmentService, @IWorkspaceContextService private contextService: IWorkspaceContextService, - @IConfigurationService private configurationService: IConfigurationService, - @IOutputService private outputService: IOutputService + @IConfigurationService private configurationService: IConfigurationService ) { this.diskSearch = new DiskSearch(!environmentService.isBuilt || environmentService.verbose); } @@ -76,7 +73,6 @@ export class SearchService implements ISearchService { // Allow caller to register progress callback process.nextTick(() => localResults.values().filter((res) => !!res).forEach(onProgress)); - const outputChannel = this.outputService.getChannel('search'); rawSearchQuery = searchP.then( // on Complete @@ -103,11 +99,6 @@ export class SearchService implements ISearchService { } } - // Log - else if (progress.message) { - outputChannel.append(progress.message); - } - // Progress else { onProgress(progress); diff --git a/src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts b/src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts index c402c59e1bf..861ff475677 100644 --- a/src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts +++ b/src/vs/workbench/test/electron-browser/textsearch.perf.integrationTest.ts @@ -30,9 +30,6 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur import { ModelServiceImpl } from 'vs/editor/common/services/modelServiceImpl'; import { IModelService } from 'vs/editor/common/services/modelService'; -import { IOutputService } from 'vs/workbench/parts/output/common/output'; -import { OutputService } from "vs/workbench/parts/output/browser/outputServices"; - import { SearchModel } from 'vs/workbench/parts/search/common/searchModel'; import { QueryBuilder } from 'vs/workbench/parts/search/common/searchQuery'; @@ -70,7 +67,6 @@ suite('TextSearch performance (integration)', () => { [IEditorGroupService, new TestEditorGroupService()], [IEnvironmentService, TestEnvironmentService], [IUntitledEditorService, createSyncDescriptor(UntitledEditorService)], - [IOutputService, createSyncDescriptor(OutputService)], [ISearchService, createSyncDescriptor(SearchService)] ));