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 Vimplicits: BooleanSetting
  8. val VimplicitsMaxRefined: IntSetting
  9. val VimplicitsVerboseTree: BooleanSetting
  10. val VtypeDiffs: BooleanSetting
  11. val Wconf: MultiStringSetting
    Definition Classes
    Warnings
  12. val Whelp: BooleanSetting
    Definition Classes
    Warnings
  13. val Xexperimental: BooleanSetting
  14. val Xhelp: BooleanSetting

    -X "Advanced" settings

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

    -Y "Private" settings

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

    IDE-specific settings

  75. val YprintTrees: ChoiceSetting
  76. val YprofileDestination: StringSetting
  77. val YprofileEnabled: BooleanSetting
  78. val YprofileExternalTool: PhasesSetting
  79. val YprofileRunGcBetweenPhases: PhasesSetting
  80. val YprofileTrace: StringSetting
  81. val Yquasiquotedebug: BooleanSetting
  82. val Yrangepos: BooleanSetting
  83. val Yrecursion: IntSetting
  84. val Yreifycopypaste: BooleanSetting
  85. val Yreifydebug: BooleanSetting
  86. val YreplMagicImport: BooleanSetting
  87. val Yreplclassbased: BooleanSetting
  88. val Yreploutdir: StringSetting
  89. val Yscriptrunner: StringSetting
  90. val Yshow: PhasesSetting
  91. val Yshowsymkinds: BooleanSetting
  92. val Yshowsymowners: BooleanSetting
  93. val Yshowsyms: BooleanSetting
  94. val Ystatistics: PhasesSetting
  95. val YstatisticsEnabled: BooleanSetting
  96. val YtastyNoAnnotations: BooleanSetting
  97. val YtastyReader: BooleanSetting
  98. val YtrackDependencies: BooleanSetting
  99. val Ytyperdebug: BooleanSetting
  100. val Yvalidatepos: PhasesSetting
  101. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

    Attributes
    protected[scala]
  102. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  103. val async: BooleanSetting
  104. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  105. val breakCycles: BooleanSetting
  106. val browse: PhasesSetting
  107. val check: PhasesSetting
  108. val checkInit: BooleanSetting
  109. val classpath: PathSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  110. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  111. def conflictWarning: Option[String]
  112. val debug: BooleanSetting
  113. def debuginfo: ChoiceSetting

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

  114. 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
  115. val defines: PrefixSetting
  116. def dependenciesFile: StringSetting
  117. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  118. val deprecation: BooleanSetting
    Definition Classes
    StandardScalaSettings
  119. val developer: BooleanSetting
  120. def disable(s: Setting): LinkedHashMap[String, Setting]

    Disable a setting

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

    Groups of Settings.

  137. val g: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  138. val genPhaseGraph: StringSetting
  139. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  140. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  141. val help: BooleanSetting
    Definition Classes
    StandardScalaSettings
  142. val imports: MultiStringSetting
  143. def infoSettings: collection.immutable.List[Setting]

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

  144. def isInfo: Boolean

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

  145. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  146. val isScala3: BooleanSetting
  147. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

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

    -P "Plugin" settings

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

    (Since version 2.13.2) Use outdir instead.

  6. 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
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  7. val warnSelfImplicit: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.3) Use lintImplicitRecursion

  8. 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