<commit_before>package zielu.gittoolbox.config;

import com.google.common.collect.Lists;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.util.xmlb.XmlSerializerUtil;
import com.intellij.util.xmlb.annotations.Transient;
import java.util.List;
import java.util.stream.Collectors;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import zielu.gittoolbox.ui.StatusPresenter;
import zielu.gittoolbox.ui.StatusPresenters;
import zielu.gittoolbox.ui.update.DefaultUpdateProjectAction;

@State(
    name = "GitToolBoxAppSettings2",
    storages = @Storage("git_toolbox_2.xml")
)
public class GitToolBoxConfig2 implements PersistentStateComponent<GitToolBoxConfig2> {
  public String presentationMode = StatusPresenters.arrows.key();
  public boolean behindTracker = true;
  public boolean showStatusWidget = true;
  public boolean showProjectViewStatus = true;
  public boolean showBlameWidget = false;
  public boolean showEditorInlineBlame = true;
  public String updateProjectActionId = DefaultUpdateProjectAction.ID;
  public List<DecorationPartConfig> decorationParts = Lists.newArrayList(
      DecorationPartConfig.builder().withType(DecorationPartType.LOCATION).withPrefix("- ").build(),
      DecorationPartConfig.builder().withType(DecorationPartType.BRANCH).build(),
      DecorationPartConfig.builder().withType(DecorationPartType.STATUS).build(),
      DecorationPartConfig.builder().withType(DecorationPartType.TAGS_ON_HEAD).withPrefix("(").withPostfix(")").build()
  );
  public CommitCompletionMode commitDialogCompletionMode = CommitCompletionMode.AUTOMATIC;<commit_msg>Blame status bar enabled by default (#146)<commit_after>package zielu.gittoolbox.config;

import com.google.common.collect.Lists;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.util.xmlb.XmlSerializerUtil;
import com.intellij.util.xmlb.annotations.Transient;
import java.util.List;
import java.util.stream.Collectors;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import zielu.gittoolbox.ui.StatusPresenter;
import zielu.gittoolbox.ui.StatusPresenters;
import zielu.gittoolbox.ui.update.DefaultUpdateProjectAction;

@State(
    name = "GitToolBoxAppSettings2",
    storages = @Storage("git_toolbox_2.xml")
)
public class GitToolBoxConfig2 implements PersistentStateComponent<GitToolBoxConfig2> {
  public String presentationMode = StatusPresenters.arrows.key();
  public boolean behindTracker = true;
  public boolean showStatusWidget = true;
  public boolean showProjectViewStatus = true;
  public boolean showBlameWidget = true;
  public boolean showEditorInlineBlame = true;
  public String updateProjectActionId = DefaultUpdateProjectAction.ID;
  public List<DecorationPartConfig> decorationParts = Lists.newArrayList(
      DecorationPartConfig.builder().withType(DecorationPartType.LOCATION).withPrefix("- ").build(),
      DecorationPartConfig.builder().withType(DecorationPartType.BRANCH).build(),
      DecorationPartConfig.builder().withType(DecorationPartType.STATUS).build(),
      DecorationPartConfig.builder().withType(DecorationPartType.TAGS_ON_HEAD).withPrefix("(").withPostfix(")").build()
  );
  public CommitCompletionMode commitDialogCompletionMode = CommitCompletionMode.AUTOMATIC;
{'fraction_non_alphanumeric': 0.09786666666666667, 'fraction_numerical': 0.0029333333333333334, 'mean_word_length': 6.963906581740977, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2654775', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1081, 'n_words': 171}