Packages

t

scala.tools.nsc.settings

ScalaSettings

trait ScalaSettings extends StandardScalaSettings with Warnings

Self Type
MutableSettings
Source
ScalaSettings.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaSettings
  2. Warnings
  3. StandardScalaSettings
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class CachePolicy extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ScalaSettings toany2stringadd[ScalaSettings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ScalaSettings, B)
    Implicit
    This member is added by an implicit conversion from ScalaSettings toArrowAssoc[ScalaSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val Vhelp: BooleanSetting

    -V "Verbose" settings

  7. val Whelp: BooleanSetting
    Definition Classes
    Warnings
  8. val Xexperimental: BooleanSetting
  9. val Xhelp: BooleanSetting

    -X "Advanced" settings

  10. val XlogImplicits: BooleanSetting
  11. val XmacroSettings: MultiStringSetting
  12. val Xmigration: ScalaVersionSetting
  13. val XmixinForceForwarders: ChoiceSetting
  14. val XnoPatmatAnalysis: BooleanSetting
  15. val Xnojline: BooleanSetting
  16. val Xprint: PhasesSetting
  17. val Xprintpos: BooleanSetting
  18. val Xshowcls: StringSetting
  19. val Xshowobj: StringSetting
  20. val Xshowtrees: BooleanSetting
  21. val XshowtreesCompact: BooleanSetting
  22. val XshowtreesStringified: BooleanSetting
  23. val Xverify: BooleanSetting
  24. val Xxml: MultiChoiceSetting[MutableSettings.XxmlSettings.type]
  25. val YaddBackendThreads: IntSetting
  26. val YcacheMacroClassLoader: ChoiceSetting
  27. val YcachePluginClassLoader: ChoiceSetting
  28. val Ycompacttrees: BooleanSetting
  29. val Ydelambdafy: ChoiceSetting
  30. val YdisableFlatCpCaching: BooleanSetting
  31. val Ydocdebug: BooleanSetting
  32. val Ydumpclasses: StringSetting
  33. val Ygenasmp: StringSetting
  34. val Yhelp: BooleanSetting

    -Y "Private" settings

  35. val YhotStatisticsEnabled: BooleanSetting
  36. val Yidedebug: BooleanSetting
  37. val Yissuedebug: BooleanSetting
  38. val YjarCompressionLevel: IntSetting
  39. val YjarFactory: StringSetting
  40. val Ylogcp: BooleanSetting
  41. val YmacroAnnotations: BooleanSetting
  42. val YmacroClasspath: PathSetting
  43. val YmacroFresh: BooleanSetting
  44. val YmacrodebugLite: BooleanSetting
  45. val YmacrodebugVerbose: BooleanSetting
  46. val Ymacroexpand: ChoiceSetting
  47. val YmaxQueue: IntSetting
  48. val Ymemberpos: StringSetting
  49. val Ynogenericsig: BooleanSetting
  50. val YoptInlineHeuristics: ChoiceSetting
  51. val YoptLogInline: StringSetting
  52. val YoptTrace: StringSetting
  53. val Youtline: BooleanSetting
  54. val YpatmatExhaustdepth: IntSetting
  55. val Ypatmatdebug: BooleanSetting
  56. val YpickleJava: BooleanSetting
  57. val YpickleWrite: StringSetting
  58. val Yposdebug: BooleanSetting
  59. val YpresentationAnyThread: BooleanSetting
  60. val YpresentationDebug: BooleanSetting
  61. val YpresentationDelay: IntSetting
  62. val YpresentationLocateSourceFile: BooleanSetting
  63. val YpresentationLog: StringSetting
  64. val YpresentationReplay: StringSetting
  65. val YpresentationStrict: BooleanSetting
  66. val YpresentationVerbose: BooleanSetting

    IDE-specific settings

  67. val YprintTrees: ChoiceSetting
  68. val YprofileDestination: StringSetting
  69. val YprofileEnabled: BooleanSetting
  70. val YprofileExternalTool: PhasesSetting
  71. val YprofileRunGcBetweenPhases: PhasesSetting
  72. val YprofileTrace: StringSetting
  73. val Yquasiquotedebug: BooleanSetting
  74. val Yrangepos: BooleanSetting
  75. val Yrecursion: IntSetting
  76. val Yreifycopypaste: BooleanSetting
  77. val Yreifydebug: BooleanSetting
  78. val Yreplclassbased: BooleanSetting
  79. val Yreploutdir: StringSetting
  80. val Yscriptrunner: StringSetting
  81. val Yshow: PhasesSetting
  82. val Yshowsymkinds: BooleanSetting
  83. val Yshowsymowners: BooleanSetting
  84. val Yshowsyms: BooleanSetting
  85. val Ystatistics: PhasesSetting
  86. val YstatisticsEnabled: BooleanSetting
  87. val Ytyperdebug: BooleanSetting
  88. val Yvalidatepos: PhasesSetting
  89. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

    Attributes
    protected[scala]
  90. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  91. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  92. val breakCycles: BooleanSetting
  93. val browse: PhasesSetting
  94. val check: PhasesSetting
  95. val checkInit: BooleanSetting
  96. val classpath: PathSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  97. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  98. def conflictWarning: Option[String]
  99. val d: OutputSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  100. val debug: BooleanSetting
  101. def debuginfo: ChoiceSetting

    Compatibility stubs for options whose value name did not previously match the option name.

  102. def defaultClasspath: String

    The user class path, specified by -classpath or -cp, defaults to the value of CLASSPATH env var if it is set, as in Java, or else to "." for the current user directory.

    The user class path, specified by -classpath or -cp, defaults to the value of CLASSPATH env var if it is set, as in Java, or else to "." for the current user directory.

    Attributes
    protected
  103. val defines: PrefixSetting
  104. def dependenciesFile: StringSetting
  105. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  106. val deprecation: BooleanSetting
    Definition Classes
    StandardScalaSettings
  107. val developer: BooleanSetting
  108. def disable(s: Setting): LinkedHashMap[String, Setting]

    Disable a setting

  109. val disable: MultiStringSetting
  110. val elidebelow: IntSetting
  111. val encoding: StringSetting
    Definition Classes
    StandardScalaSettings
  112. def ensuring(cond: (ScalaSettings) => Boolean, msg: => Any): ScalaSettings
    Implicit
    This member is added by an implicit conversion from ScalaSettings toEnsuring[ScalaSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  113. def ensuring(cond: (ScalaSettings) => Boolean): ScalaSettings
    Implicit
    This member is added by an implicit conversion from ScalaSettings toEnsuring[ScalaSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  114. def ensuring(cond: Boolean, msg: => Any): ScalaSettings
    Implicit
    This member is added by an implicit conversion from ScalaSettings toEnsuring[ScalaSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  115. def ensuring(cond: Boolean): ScalaSettings
    Implicit
    This member is added by an implicit conversion from ScalaSettings toEnsuring[ScalaSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  116. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  117. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  118. val explaintypes: BooleanSetting
    Definition Classes
    StandardScalaSettings
  119. val exposeEmptyPackage: BooleanSetting
  120. val extdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  121. val fatalWarnings: BooleanSetting
    Definition Classes
    Warnings
  122. val feature: BooleanSetting
    Definition Classes
    StandardScalaSettings
  123. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  124. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ScalaSettings toStringFormat[ScalaSettings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  125. val future: BooleanSetting

    Groups of Settings.

  126. val g: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  127. val genPhaseGraph: StringSetting
  128. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  129. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  130. val help: BooleanSetting
    Definition Classes
    StandardScalaSettings
  131. val imports: MultiStringSetting
  132. def infoSettings: collection.immutable.List[Setting]

    If any of these settings is enabled, the compiler should print a message and exit.

  133. def isInfo: Boolean

    Is an info setting set? Any -option:help?

  134. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  135. def isScala212: Boolean
  136. def isScala213: Boolean
  137. def isScala214: Boolean
  138. def isScala300: Boolean
  139. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

  140. val javabootclasspath: PathSetting
    Definition Classes
    StandardScalaSettings
  141. val javaextdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  142. val jvmargs: PrefixSetting
  143. val language: MultiChoiceSetting[MutableSettings.languageFeatures.type]
  144. val lint: MultiChoiceSetting[MutableSettings.LintWarnings.type]
    Definition Classes
    Warnings
  145. def lintDeprecation: Boolean
    Definition Classes
    Warnings
  146. def lintImplicitNotFound: Boolean
    Definition Classes
    Warnings
  147. def lintUnused: Boolean
    Definition Classes
    Warnings
  148. def lintValPatterns: Boolean
    Definition Classes
    Warnings
  149. val log: PhasesSetting
  150. val logFreeTerms: BooleanSetting
  151. val logFreeTypes: BooleanSetting
  152. val logImplicitConv: BooleanSetting
  153. val logReflectiveCalls: BooleanSetting
  154. val mainClass: StringSetting
  155. val maxerrs: IntSetting
  156. val maxwarns: IntSetting
  157. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  158. val noCompletion: BooleanSetting
  159. val noForwarders: BooleanSetting
  160. val noassertions: noassertions.stabilizer$1.type.s.type forSome {val stabilizer$1: EnableSettings[BooleanSetting]}
  161. val nobootcp: BooleanSetting
  162. val noimports: BooleanSetting
  163. val nopredef: BooleanSetting
  164. val nospecialization: BooleanSetting
  165. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  166. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  167. val nouescape: BooleanSetting
  168. val nowarn: BooleanSetting
    Definition Classes
    StandardScalaSettings
  169. def nowarnings: BooleanSetting
  170. val opt: MultiChoiceSetting[MutableSettings.optChoices.type]
  171. def optAddToBytecodeRepository: Boolean
  172. def optAllowSkipClassLoading: Boolean
  173. def optAllowSkipCoreModuleInit: Boolean
  174. def optAssumeModulesNonNull: Boolean
  175. def optBoxUnbox: Boolean
  176. def optBuildCallGraph: Boolean
  177. def optClosureInvocations: Boolean
  178. def optCompactLocals: Boolean
  179. def optCopyPropagation: Boolean
  180. val optInlineFrom: MultiStringSetting
  181. def optInlinerEnabled: Boolean
  182. def optNone: Boolean
  183. def optNullnessTracking: Boolean
  184. def optRedundantCasts: Boolean
  185. def optSimplifyJumps: Boolean
  186. def optUnreachableCode: Boolean
  187. def optUseAnalyzerCache: Boolean
  188. def optWarningEmitAtInlineFailed: Boolean
  189. def optWarningNoInlineMissingBytecode: Boolean
  190. def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
  191. def optWarningNoInlineMixed: Boolean
  192. val optWarnings: MultiChoiceSetting[MutableSettings.optWarningsChoices.type]
  193. def optWarningsSummaryOnly: Boolean
  194. val optimise: BooleanSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  195. def outdir: OutputSetting
  196. val plugin: MultiStringSetting
  197. val pluginOptions: MultiStringSetting

    -P "Plugin" settings

  198. val pluginsDir: StringSetting
  199. val print: BooleanSetting
    Definition Classes
    StandardScalaSettings
  200. val printArgs: StringSetting
  201. def printLate: BooleanSetting
  202. val printtypes: BooleanSetting
  203. val prompt: BooleanSetting
  204. val release: StringSetting
  205. def releaseValue: Option[String]
  206. val reporter: StringSetting
  207. val require: MultiStringSetting
  208. val resident: BooleanSetting
  209. val script: StringSetting
  210. val showPhases: BooleanSetting
  211. val showPlugins: BooleanSetting
  212. val skip: PhasesSetting
  213. val source: ScalaVersionSetting
  214. val sourceReader: StringSetting
  215. val sourcepath: PathSetting
    Definition Classes
    StandardScalaSettings
  216. val stopAfter: PhasesSetting
  217. val stopBefore: PhasesSetting
  218. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  219. val target: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  220. val termConflict: ChoiceSetting
  221. def toString(): String
    Definition Classes
    AnyRef → Any
  222. val unchecked: BooleanSetting
    Definition Classes
    StandardScalaSettings
  223. val uniqid: BooleanSetting
    Definition Classes
    StandardScalaSettings
  224. val usejavacp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  225. val usemanifestcp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  226. val verbose: BooleanSetting
    Definition Classes
    StandardScalaSettings
  227. val version: BooleanSetting
    Definition Classes
    StandardScalaSettings
  228. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  229. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  230. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  231. def warnAdaptedArgs: Boolean
    Definition Classes
    Warnings
  232. def warnConstant: Boolean
    Definition Classes
    Warnings
  233. val warnDeadCode: BooleanSetting
    Definition Classes
    Warnings
  234. def warnDelayedInit: Boolean
    Definition Classes
    Warnings
  235. def warnDocDetached: Boolean
    Definition Classes
    Warnings
  236. def warnEtaSam: Boolean
    Definition Classes
    Warnings
  237. def warnEtaZero: Boolean
    Definition Classes
    Warnings
  238. val warnExtraImplicit: BooleanSetting
    Definition Classes
    Warnings
  239. def warnInaccessible: Boolean
    Definition Classes
    Warnings
  240. def warnInferAny: Boolean
    Definition Classes
    Warnings
  241. val warnMacros: ChoiceSetting
    Definition Classes
    Warnings
  242. def warnMissingInterpolator: Boolean
    Definition Classes
    Warnings
  243. def warnNonlocalReturn: Boolean
    Definition Classes
    Warnings
  244. def warnNullaryOverride: Boolean
    Definition Classes
    Warnings
  245. def warnNullaryUnit: Boolean
    Definition Classes
    Warnings
  246. val warnNumericWiden: BooleanSetting
    Definition Classes
    Warnings
  247. val warnOctalLiteral: BooleanSetting
    Definition Classes
    Warnings
  248. def warnOptionImplicit: Boolean
    Definition Classes
    Warnings
  249. def warnPackageObjectClasses: Boolean
    Definition Classes
    Warnings
  250. def warnPolyImplicitOverload: Boolean
    Definition Classes
    Warnings
  251. def warnPrivateShadow: Boolean
    Definition Classes
    Warnings
  252. val warnSelfImplicit: BooleanSetting
    Definition Classes
    Warnings
  253. def warnSerialization: Boolean
    Definition Classes
    Warnings
  254. def warnStarsAlign: Boolean
    Definition Classes
    Warnings
  255. def warnTypeParameterShadow: Boolean
    Definition Classes
    Warnings
  256. val warnUnused: MultiChoiceSetting[MutableSettings.UnusedWarnings.type]
    Definition Classes
    Warnings
  257. def warnUnusedExplicits: Boolean
    Definition Classes
    Warnings
  258. def warnUnusedImplicits: Boolean
    Definition Classes
    Warnings
  259. def warnUnusedImport: Boolean
    Definition Classes
    Warnings
  260. def warnUnusedLocals: Boolean
    Definition Classes
    Warnings
  261. def warnUnusedParams: Boolean
    Definition Classes
    Warnings
  262. def warnUnusedPatVars: Boolean
    Definition Classes
    Warnings
  263. def warnUnusedPrivates: Boolean
    Definition Classes
    Warnings
  264. val warnValueDiscard: BooleanSetting
    Definition Classes
    Warnings
  265. val warnValueOverrides: BooleanSetting
    Definition Classes
    Warnings
  266. object CachePolicy
  267. object MacroExpand
  268. object XxmlSettings extends MultiChoiceEnumeration
  269. object languageFeatures extends MultiChoiceEnumeration
  270. object mixinForwarderChoices
  271. object optChoices extends MultiChoiceEnumeration
  272. object optWarningsChoices extends MultiChoiceEnumeration
  273. object LintWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  274. object UnusedWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings

Deprecated Value Members

  1. def Xchecknull: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) This option is being removed

  2. def Xwarnfatal: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use fatalWarnings

  3. val Yreplsync: BooleanSetting
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13) Unused setting will be removed

  4. def Ywarndeadcode: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use warnDeadCode

  5. def [B](y: B): (ScalaSettings, B)
    Implicit
    This member is added by an implicit conversion from ScalaSettings toArrowAssoc[ScalaSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Warnings

Inherited from StandardScalaSettings

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromScalaSettings to any2stringadd[ScalaSettings]

Inherited by implicit conversion StringFormat fromScalaSettings to StringFormat[ScalaSettings]

Inherited by implicit conversion Ensuring fromScalaSettings to Ensuring[ScalaSettings]

Inherited by implicit conversion ArrowAssoc fromScalaSettings to ArrowAssoc[ScalaSettings]

Ungrouped