boolean (Editor editor, PsiFile file) { LanguageCodeStyleSettingsProvider provider = getProviderForContext(editor, file); return provider != null && CodeFragmentCodeStyleSettingsPanel.hasOptionsToShow(provider); }