boolean (@NotNull AnActionEvent event) { EditorSettingsExternalizable settings = EditorSettingsExternalizable.getInstance(); boolean shown = settings.isBreadcrumbsShown(); Editor editor = findEditor(event); if (editor == null) return shown; Boolean forcedShown = BreadcrumbsForceShownSettings.getForcedShown(editor); if (forcedShown != null) return forcedShown; if (!shown) return false; String languageID = findLanguageID(event); return languageID == null || settings.isBreadcrumbsShownFor(languageID); }