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. 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()
  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 isInfo: Boolean

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

  146. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  147. val isScala3: BooleanSetting
  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 lintUnused: Boolean
    Definition Classes
    Warnings
  158. def lintValPatterns: Boolean
    Definition Classes
    Warnings
  159. val log: PhasesSetting
  160. val logFreeTerms: BooleanSetting
  161. val logFreeTypes: BooleanSetting
  162. val logImplicitConv: BooleanSetting
  163. val logReflectiveCalls: BooleanSetting
  164. val mainClass: StringSetting
  165. val maxerrs: IntSetting
  166. val maxwarns: IntSetting
  167. def multiargInfix: Boolean
    Definition Classes
    Warnings
  168. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  169. val noCompletion: BooleanSetting
  170. val noForwarders: BooleanSetting
  171. val noassertions: noassertions.stabilizer$1.type.s.type forSome {val stabilizer$1: EnableSettings[BooleanSetting]}
  172. val nobootcp: BooleanSetting
  173. val noimports: BooleanSetting
  174. val nonStrictPatmatAnalysis: BooleanSetting
  175. val nopredef: BooleanSetting
  176. val nospecialization: BooleanSetting
  177. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  178. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  179. val nowarn: BooleanSetting
    Definition Classes
    StandardScalaSettings
  180. def nowarnings: BooleanSetting
  181. val opt: MultiChoiceSetting[MutableSettings.optChoices.type]
  182. def optAddToBytecodeRepository: Boolean
  183. def optAllowSkipClassLoading: Boolean
  184. def optAllowSkipCoreModuleInit: Boolean
  185. def optAssumeModulesNonNull: Boolean
  186. def optBoxUnbox: Boolean
  187. def optBuildCallGraph: Boolean
  188. def optClosureInvocations: Boolean
  189. def optCompactLocals: Boolean
  190. def optCopyPropagation: Boolean
  191. val optInlineFrom: MultiStringSetting
  192. def optInlinerEnabled: Boolean
  193. def optNone: Boolean
  194. def optNullnessTracking: Boolean
  195. def optRedundantCasts: Boolean
  196. def optSimplifyJumps: Boolean
  197. def optUnreachableCode: Boolean
  198. def optUseAnalyzerCache: Boolean
  199. def optWarningEmitAtInlineFailed: Boolean
  200. def optWarningNoInlineMissingBytecode: Boolean
  201. def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
  202. def optWarningNoInlineMixed: Boolean
  203. val optWarnings: MultiChoiceSetting[MutableSettings.optWarningsChoices.type]
  204. def optWarningsSummaryOnly: Boolean
  205. val optimise: BooleanSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  206. val outdir: OutputSetting
  207. val plugin: MultiStringSetting
  208. val pluginOptions: MultiStringSetting

    -P "Plugin" settings

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

    (Since version 2.13.3) Use lintImplicitRecursion

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