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 VdebugTypeError: BooleanSetting
  7. val Vhelp: BooleanSetting

    -V "Verbose" settings

  8. val Vimplicits: BooleanSetting
  9. val VimplicitsMaxRefined: IntSetting
  10. val VimplicitsVerboseTree: BooleanSetting
  11. val VtypeDiffs: BooleanSetting
  12. val Wconf: MultiStringSetting
    Definition Classes
    Warnings
  13. val Whelp: BooleanSetting
    Definition Classes
    Warnings
  14. val Xexperimental: BooleanSetting
  15. val Xhelp: BooleanSetting

    -X "Advanced" settings

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

    -Y "Private" settings

  43. val YhotStatisticsEnabled: BooleanSetting
  44. val Yidedebug: 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 Yscala3ImplicitResolution: BooleanSetting
  90. val Yscriptrunner: StringSetting
  91. val Yshow: PhasesSetting
  92. val Yshowsymkinds: BooleanSetting
  93. val Yshowsymowners: BooleanSetting
  94. val Yshowsyms: BooleanSetting
  95. val Ystatistics: PhasesSetting
  96. val YstatisticsEnabled: BooleanSetting
  97. val YtastyNoAnnotations: BooleanSetting
  98. val YtastyReader: BooleanSetting
  99. val YtrackDependencies: BooleanSetting
  100. val Ytyperdebug: BooleanSetting
  101. val Yvalidatepos: PhasesSetting
  102. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

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

    Path related settings.

    Path related settings.

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

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

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

    Other settings.

    Other settings.

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

    Disable a setting

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

    Groups of Settings.

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

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

  145. def inlineHelp: String
  146. def isInfo: Boolean

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

  147. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  148. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

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

    -P "Plugin" settings

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

    (Since version 2.13.9) Use currentRun.isScala3 instead

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

    (Since version 2.13.3) Use lintImplicitRecursion

  9. val xoptInlineFrom: MultiStringSetting
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.8) Deprecated alias

  10. val xoptWarnings: MultiChoiceSetting[MutableSettings.optWarningsChoices.type]
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.8) Deprecated alias

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