提交 c0c00dd2 编写于 作者: M Michel Kaporin

Removed redundant methods, corrected aria label.

上级 7fec3504
......@@ -60,7 +60,7 @@ export class QuickOpenHandler extends Quickopen.QuickOpenHandler {
}
public getAriaLabel(): string {
return nls.localize('debugAriaLabel', "Type the name of a launch configuration to run");
return nls.localize('debugAriaLabel', "Type a name of a launch configuration to run.");
}
public getResults(input: string): TPromise<Model.QuickOpenModel> {
......@@ -73,28 +73,12 @@ export class QuickOpenHandler extends Quickopen.QuickOpenHandler {
return TPromise.as(new Model.QuickOpenModel(configurationNames));
}
public getClass(): string {
return null;
}
public canRun(): boolean {
return true;
}
public getAutoFocus(input: string): QuickOpen.IAutoFocus {
return {
autoFocusFirstEntry: !!input
};
}
public onClose(cancelled: boolean): void {
return;
}
public getGroupLabel(): string {
return null;
}
public getEmptyLabel(searchString: string): string {
if (searchString.length > 0) {
return nls.localize('noConfigurationsMatching', "No debug configurations matching");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册