<commit_before>package scala.tools.eclipse
package properties

import org.eclipse.jface.preference._
import org.eclipse.ui.IWorkbenchPreferencePage
import org.eclipse.ui.IWorkbench

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
import org.eclipse.jface.preference.IPreferenceStore

import scala.tools.eclipse.ScalaPlugin

class ImplicitsPreferencePage extends FieldEditorPreferencePage with IWorkbenchPreferencePage {
  import ImplicitsPreferencePage._

  setPreferenceStore(ScalaPlugin.plugin.getPreferenceStore)
  setDescription("""
	    Set the highlighting for implicit conversions and implicit parameters.
	    See also General > Editors > Text Editors > Annotations (Scala Implicit)
  """)

  override def createFieldEditors() {
    addField(new BooleanFieldEditor(P_ACTIVE, "Active", getFieldEditorParent))
    addField(new BooleanFieldEditor(P_BOLD, "Bold", getFieldEditorParent))
    addField(new BooleanFieldEditor(P_ITALIC, "Italic", getFieldEditorParent))
  }

  def init(workbench: IWorkbench) {}

}

object ImplicitsPreferencePage {
  val BASE = "scala.tools.eclipse.ui.preferences.implicit."
  val P_ACTIVE = BASE + "enabled"
  val P_BOLD = BASE + "text.bold"
  val P_ITALIC = BASE + "text.italic"
}

class ImplicitsPagePreferenceInitializer extends AbstractPreferenceInitializer {

  import ImplicitsPreferencePage._

  override def initializeDefaultPreferences() {
    val store = ScalaPlugin.plugin.getPreferenceStore
    store.setDefault(P_ACTIVE, true)
    store.setDefault(P_BOLD, false)
    store.setDefault(P_ITALIC, false)
  }

}<commit_msg>Don't enable implicit highlighting by default.<commit_after>package scala.tools.eclipse
package properties

import org.eclipse.jface.preference._
import org.eclipse.ui.IWorkbenchPreferencePage
import org.eclipse.ui.IWorkbench

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
import org.eclipse.jface.preference.IPreferenceStore

import scala.tools.eclipse.ScalaPlugin

class ImplicitsPreferencePage extends FieldEditorPreferencePage with IWorkbenchPreferencePage {
  import ImplicitsPreferencePage._

  setPreferenceStore(ScalaPlugin.plugin.getPreferenceStore)
  setDescription("""
	    Set the highlighting for implicit conversions and implicit parameters.
	    See also General > Editors > Text Editors > Annotations (Scala Implicit)
  """)

  override def createFieldEditors() {
    addField(new BooleanFieldEditor(P_ACTIVE, "Active", getFieldEditorParent))
    addField(new BooleanFieldEditor(P_BOLD, "Bold", getFieldEditorParent))
    addField(new BooleanFieldEditor(P_ITALIC, "Italic", getFieldEditorParent))
  }

  def init(workbench: IWorkbench) {}

}

object ImplicitsPreferencePage {
  val BASE = "scala.tools.eclipse.ui.preferences.implicit."
  val P_ACTIVE = BASE + "enabled"
  val P_BOLD = BASE + "text.bold"
  val P_ITALIC = BASE + "text.italic"
}

class ImplicitsPagePreferenceInitializer extends AbstractPreferenceInitializer {

  import ImplicitsPreferencePage._

  override def initializeDefaultPreferences() {
    val store = ScalaPlugin.plugin.getPreferenceStore
    store.setDefault(P_ACTIVE, false)
    store.setDefault(P_BOLD, false)
    store.setDefault(P_ITALIC, false)
  }

}
{'fraction_non_alphanumeric': 0.08012422360248447, 'fraction_numerical': 0.0, 'mean_word_length': 5.613963039014374, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1377931', 'n_tokens_mistral': 985, 'n_tokens_neox': 961, 'n_words': 199}