// Path: src/main/java/claims/bold/intellij/avro/idl/AvroIdlLanguage.java
// public class AvroIdlLanguage extends Language {
//     /**
//      * A shared instance of AvroIdlLanguage.
//      */
//     @NotNull
//     public static final AvroIdlLanguage INSTANCE = new AvroIdlLanguage();
// 
//     protected AvroIdlLanguage() {
//         super("AvroIDL", "text/vnd.apache.avro-idl");
//     }
// }


import claims.bold.intellij.avro.idl.AvroIdlLanguage;
import com.intellij.application.options.CodeStyleAbstractConfigurable;
import com.intellij.application.options.CodeStyleAbstractPanel;
import com.intellij.application.options.TabbedLanguageCodeStylePanel;
import com.intellij.openapi.options.Configurable;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import com.intellij.psi.codeStyle.CodeStyleSettingsProvider;
import org.jetbrains.annotations.NotNull;
package claims.bold.intellij.avro.idl.codestyle;


/**
 * Created by mwilber on 3/5/17.
 */
public class AvroIdlCodeStyleSettingsProvider extends CodeStyleSettingsProvider {
    @NotNull
    @Override
    public Configurable createSettingsPage(final CodeStyleSettings settings, final CodeStyleSettings originalSettings) {
        return new CodeStyleAbstractConfigurable(settings, originalSettings, AvroIdlLanguage.INSTANCE.getDisplayName()) {

            @Override
            protected CodeStyleAbstractPanel createPanel(final CodeStyleSettings settings) {
                final CodeStyleSettings currentSettings = getCurrentSettings();
// Path: src/main/java/claims/bold/intellij/avro/idl/AvroIdlLanguage.java
// public class AvroIdlLanguage extends Language {
//     /**
//      * A shared instance of AvroIdlLanguage.
//      */
//     @NotNull
//     public static final AvroIdlLanguage INSTANCE = new AvroIdlLanguage();
// 
//     protected AvroIdlLanguage() {
//         super("AvroIDL", "text/vnd.apache.avro-idl");
//     }
// }


// Path: src/main/java/claims/bold/intellij/avro/idl/codestyle/AvroIdlCodeStyleSettingsProvider.java
import claims.bold.intellij.avro.idl.AvroIdlLanguage;
import com.intellij.application.options.CodeStyleAbstractConfigurable;
import com.intellij.application.options.CodeStyleAbstractPanel;
import com.intellij.application.options.TabbedLanguageCodeStylePanel;
import com.intellij.openapi.options.Configurable;
import com.intellij.psi.codeStyle.CodeStyleSettings;
import com.intellij.psi.codeStyle.CodeStyleSettingsProvider;
import org.jetbrains.annotations.NotNull;

package claims.bold.intellij.avro.idl.codestyle;


/**
 * Created by mwilber on 3/5/17.
 */
public class AvroIdlCodeStyleSettingsProvider extends CodeStyleSettingsProvider {
    @NotNull
    @Override
    public Configurable createSettingsPage(final CodeStyleSettings settings, final CodeStyleSettings originalSettings) {
        return new CodeStyleAbstractConfigurable(settings, originalSettings, AvroIdlLanguage.INSTANCE.getDisplayName()) {

            @Override
            protected CodeStyleAbstractPanel createPanel(final CodeStyleSettings settings) {
                final CodeStyleSettings currentSettings = getCurrentSettings();
                return new TabbedLanguageCodeStylePanel(AvroIdlLanguage.INSTANCE, currentSettings, settings) {