void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null || !UISettings.getInstance().getShowNavigationBar()) { return; } IdeRootPane ideRootPane = ((WindowManagerImpl)WindowManager.getInstance()).getProjectFrameRootPane(project); if (ideRootPane == null) { return; } var component = ideRootPane.findNorthUiComponentByKey(IdeStatusBarImpl.NAVBAR_WIDGET_KEY); if (component instanceof NavBarPanel) { ((NavBarPanel)component).rebuildAndSelectTail(true); } }