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 YforceFlatCpCaching: BooleanSetting
  36. val Ygenasmp: StringSetting
  37. val Yhelp: BooleanSetting

    -Y "Private" settings

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

    IDE-specific settings

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

    Set of settings

    Set of settings

    Attributes
    protected[scala]
  96. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  97. val async: BooleanSetting
  98. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

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

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

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

    Other settings.

    Other settings.

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

    Disable a setting

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

    Groups of Settings.

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

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

  139. def isInfo: Boolean

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

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

    Test whether this is scaladoc we're looking at

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

    -P "Plugin" settings

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