@Override
  public void exportScheme(@Nullable Project project,
                           @NotNull CodeStyleScheme scheme,
                           @NotNull OutputStream outputStream) throws Exception {
    final CodeStyleSettings settings = scheme.getCodeStyleSettings();
    try (EditorConfigSettingsWriter writer = new EditorConfigSettingsWriter(project, outputStream, settings, false, false)) {
      writer.writeSettings();
    }
  }
@Override
  public void exportScheme(@Nullable Project project,
                           @NotNull CodeStyleScheme scheme,
                           @NotNull OutputStream outputStream)