提交 5c23b523 编写于 作者: B Benjamin Pasero

OpenAnythingHandler throws errors (fixes #1763)

上级 e614b092
......@@ -21,7 +21,7 @@ import {IAutoFocus} from 'vs/base/parts/quickopen/common/quickOpen';
import {QuickOpenEntry, QuickOpenModel} from 'vs/base/parts/quickopen/browser/quickOpenModel';
import {QuickOpenHandler} from 'vs/workbench/browser/quickopen';
import {FileEntry, OpenFileHandler} from 'vs/workbench/parts/search/browser/openFileHandler';
import {OpenSymbolHandler} from 'vs/workbench/parts/search/browser/openSymbolHandler';
import * as openSymbolHandler from 'vs/workbench/parts/search/browser/openSymbolHandler';
import {IMessageService, Severity} from 'vs/platform/message/common/message';
import {IInstantiationService} from 'vs/platform/instantiation/common/instantiation';
import {IWorkspaceContextService} from 'vs/workbench/services/workspace/common/contextService';
......@@ -33,6 +33,9 @@ interface ISearchWithRange {
range: IRange;
}
// OpenSymbolHandler is used from an extension and must be in the main bundle file so it can load
export import OpenSymbolHandler = openSymbolHandler.OpenSymbolHandler;
export class OpenAnythingHandler extends QuickOpenHandler {
private static LINE_COLON_PATTERN = /[#|:](\d*)([#|:](\d*))?$/;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册