void (@Nullable Project project, @NotNull EditorColorsScheme scheme, @NotNull String exporterName) { EditorColorsScheme schemeToExport = scheme; if (scheme instanceof AbstractColorsScheme) { EditorColorsScheme parent = ((AbstractColorsScheme)scheme).getParentScheme(); if (!(parent instanceof DefaultColorsScheme)) { schemeToExport = parent; } } schemeToExport = (EditorColorsScheme)schemeToExport.clone(); schemeToExport.setName(schemeToExport.getDisplayName()); super.exportScheme(project, schemeToExport, exporterName); }