Search in sources :

Example 1 with XmlArrangementPanel

use of com.intellij.xml.arrangement.XmlArrangementPanel in project intellij-community by JetBrains.

the class XmlCodeStyleMainPanel method initTabs.

@Override
protected void initTabs(CodeStyleSettings settings) {
    addIndentOptionsTab(settings);
    addTab(new CodeStyleXmlPanel(settings));
    addTab(new XmlArrangementPanel(settings));
    for (CodeStyleSettingsProvider provider : Extensions.getExtensions(CodeStyleSettingsProvider.EXTENSION_POINT_NAME)) {
        if (provider.getLanguage() == XMLLanguage.INSTANCE && !provider.hasSettingsPage()) {
            createTab(provider);
        }
    }
}
Also used : XmlArrangementPanel(com.intellij.xml.arrangement.XmlArrangementPanel) CodeStyleSettingsProvider(com.intellij.psi.codeStyle.CodeStyleSettingsProvider)

Aggregations

CodeStyleSettingsProvider (com.intellij.psi.codeStyle.CodeStyleSettingsProvider)1 XmlArrangementPanel (com.intellij.xml.arrangement.XmlArrangementPanel)1