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 YdebugTasty: BooleanSetting
  32. val Ydelambdafy: ChoiceSetting
  33. val YdisableFlatCpCaching: BooleanSetting
  34. val Ydocdebug: BooleanSetting
  35. val Ydumpclasses: StringSetting
  36. val YforceFlatCpCaching: BooleanSetting
  37. val Ygenasmp: StringSetting
  38. val Yhelp: BooleanSetting

    -Y "Private" settings

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

    IDE-specific settings

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

    Set of settings

    Set of settings

    Attributes
    protected[scala]
  99. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  100. val async: BooleanSetting
  101. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

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

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

  111. 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
  112. val defines: PrefixSetting
  113. def dependenciesFile: StringSetting
  114. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  115. val deprecation: BooleanSetting
    Definition Classes
    StandardScalaSettings
  116. val developer: BooleanSetting
  117. def disable(s: Setting): LinkedHashMap[String, Setting]

    Disable a setting

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

    Groups of Settings.

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

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

  142. def isInfo: Boolean

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

  143. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  144. def isScala212: Boolean
  145. def isScala213: Boolean
  146. def isScala3: Boolean
  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. 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