提交 6507e427 编写于 作者: J Johannes Rieken

workaround for #74934

上级 56af1b0a
......@@ -22,6 +22,7 @@ import { OutlineConfigKeys } from 'vs/editor/contrib/documentSymbols/outline';
import { MarkerSeverity } from 'vs/platform/markers/common/markers';
import { IThemeService } from 'vs/platform/theme/common/themeService';
import { listErrorForeground, listWarningForeground } from 'vs/platform/theme/common/colorRegistry';
import { KeyCode } from 'vs/base/common/keyCodes';
export type OutlineItem = OutlineGroup | OutlineElement;
......@@ -38,7 +39,7 @@ export class OutlineNavigationLabelProvider implements IKeyboardNavigationLabelP
}
mightProducePrintableCharacter(event: IKeyboardEvent): boolean {
return this._keybindingService.mightProducePrintableCharacter(event);
return event.keyCode !== KeyCode.Escape && this._keybindingService.mightProducePrintableCharacter(event);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册