Packages

t

scala.tools.nsc.settings

ScalaSettings

trait ScalaSettings extends StandardScalaSettings with Warnings

Self Type
MutableSettings
Source
ScalaSettings.scala
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 Wconf: MultiStringSetting
    Definition Classes
    Warnings
  8. val Whelp: BooleanSetting
    Definition Classes
    Warnings
  9. val Xexperimental: BooleanSetting
  10. val Xhelp: BooleanSetting

    -X "Advanced" settings

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

    -Y "Private" settings

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

    IDE-specific settings

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

    Set of settings

    Set of settings

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

    Path related settings.

    Path related settings.

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

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

  106. 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
  107. val defines: PrefixSetting
  108. def dependenciesFile: StringSetting
  109. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  110. val deprecation: BooleanSetting
    Definition Classes
    StandardScalaSettings
  111. val developer: BooleanSetting
  112. def disable(s: Setting): LinkedHashMap[String, Setting]

    Disable a setting

  113. val disable: MultiStringSetting
  114. val elidebelow: IntSetting
  115. val encoding: StringSetting
    Definition Classes
    StandardScalaSettings
  116. 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
  117. 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
  118. 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
  119. 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
  120. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  121. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  122. val explaintypes: BooleanSetting
    Definition Classes
    StandardScalaSettings
  123. val exposeEmptyPackage: BooleanSetting
  124. val extdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  125. val fatalWarnings: BooleanSetting
    Definition Classes
    Warnings
  126. val feature: BooleanSetting
    Definition Classes
    StandardScalaSettings
  127. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  128. 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()
  129. val future: BooleanSetting

    Groups of Settings.

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

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

  137. def isInfo: Boolean

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

  138. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  139. def isScala212: Boolean
  140. def isScala213: Boolean
  141. def isScala3: Boolean
  142. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

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

    -P "Plugin" settings

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