void () { // Don't override Shift-TAB if screen reader is active. It is unclear why overriding // Shift-TAB was necessary in the first place. // See https://github.com/JetBrains/intellij-community/commit/a36a3a00db97e4d5b5c112bb4136a41d9435f667 if (!ScreenReader.isActive()) { new AnAction() { { var shiftTabShortcut = new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, InputEvent.SHIFT_DOWN_MASK)); registerCustomShortcutSet(shiftTabShortcut, LogConsoleBase.this); } @Override public void actionPerformed(final @NotNull AnActionEvent e) { var console = ComponentUtil.getParentOfType(ConsoleWithFloatingToolbar.class, getConsoleNotNull().getComponent()); if (console != null) { console.myFloatingToolbar.scheduleShow(); } getTextFilterComponent().requestFocusInWindow(); } }; } }