Packages

t

scala.tools.nsc.settings

ScalaSettings

trait ScalaSettings extends StandardScalaSettings with Warnings

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

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 to any2stringadd[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 to ArrowAssoc[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 Wconf: MultiStringSetting
    Definition Classes
    Warnings
  7. val Xexperimental: Xexperimental._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}
  8. val XfullLubs: BooleanSetting
  9. val Xhelp: BooleanSetting

    -X "Advanced" settings

  10. val XlogImplicits: BooleanSetting
  11. val XmacroSettings: MultiStringSetting
  12. val Xmigration: ScalaVersionSetting
  13. val XmixinForceForwarders: ChoiceSetting
  14. val XnoPatmatAnalysis: BooleanSetting
  15. val Xnojline: BooleanSetting
  16. val Xprint: PhasesSetting
  17. val Xprintpos: BooleanSetting
  18. val Xshowcls: StringSetting
  19. val Xshowobj: StringSetting
  20. val Xshowtrees: BooleanSetting
  21. val XshowtreesCompact: BooleanSetting
  22. val XshowtreesStringified: BooleanSetting
  23. val Xverify: BooleanSetting
  24. val Xxml: MultiChoiceSetting[MutableSettings.XxmlSettings.type]
  25. val YaddBackendThreads: IntSetting
  26. val YcacheMacroClassLoader: ChoiceSetting
  27. val YcachePluginClassLoader: ChoiceSetting
  28. val YcollectStatistics: BooleanSetting
  29. val Ycompacttrees: BooleanSetting
  30. val Ydelambdafy: ChoiceSetting
  31. val YdisableFlatCpCaching: BooleanSetting
  32. val Ydocdebug: BooleanSetting

    Area-specific debug output.

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

    IDE-specific settings

  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 Yreplsync: BooleanSetting
  87. val Yshow: PhasesSetting
  88. val Yshowsymkinds: BooleanSetting
  89. val Yshowsymowners: BooleanSetting
  90. val Yshowsyms: BooleanSetting
  91. val Ystatistics: PhasesSetting
  92. def YstatisticsEnabled: Boolean
  93. val YtrackDependencies: BooleanSetting
  94. val Ytyperdebug: BooleanSetting
  95. val Yvalidatepos: PhasesSetting
  96. val Yvirtpatmat: BooleanSetting
  97. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

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

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  101. val breakCycles: BooleanSetting
  102. val browse: PhasesSetting
  103. val check: PhasesSetting
  104. val checkInit: BooleanSetting
  105. val classpath: PathSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  106. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  107. def conflictWarning: Option[String]
  108. val d: OutputSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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: Any): Boolean
    Definition Classes
    AnyRef → Any
  127. def experimentalSettings: collection.immutable.List[BooleanSetting]

    Enabled under -Xexperimental.

    Enabled under -Xexperimental.

    Attributes
    protected
  128. val explaintypes: BooleanSetting
    Definition Classes
    StandardScalaSettings
  129. val exposeEmptyPackage: BooleanSetting
  130. val extdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  131. val fatalWarnings: BooleanSetting
    Definition Classes
    Warnings
  132. val feature: BooleanSetting
    Definition Classes
    StandardScalaSettings
  133. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  134. val future: future._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}

    Groups of Settings.

  135. def futureSettings: collection.immutable.List[BooleanSetting]

    Enabled under -Xfuture.

    Enabled under -Xfuture.

    Attributes
    protected
  136. val g: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  137. val genPhaseGraph: StringSetting
  138. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  139. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  140. val help: BooleanSetting
    Definition Classes
    StandardScalaSettings
  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 isScala211: Boolean
  145. def isScala212: Boolean
  146. def isScala213: Boolean
  147. def isScala3: Boolean
  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 lintIntDivToFloat: Boolean
    Definition Classes
    Warnings
  156. def lintUnused: Boolean
    Definition Classes
    Warnings
  157. val log: PhasesSetting
  158. val logFreeTerms: BooleanSetting
  159. val logFreeTypes: BooleanSetting
  160. val logImplicitConv: BooleanSetting
  161. val logReflectiveCalls: BooleanSetting
  162. val mainClass: StringSetting
  163. val maxClassfileName: IntSetting
  164. val maxerrs: IntSetting
  165. val maxwarns: IntSetting
  166. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  167. val noAdaptedArgs: BooleanSetting
  168. val noCompletion: BooleanSetting
  169. val noForwarders: BooleanSetting
  170. val noassertions: noassertions._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}
  171. val nobootcp: BooleanSetting
  172. val noimports: BooleanSetting
  173. val nopredef: BooleanSetting
  174. val nospecialization: BooleanSetting
  175. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  176. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  177. val nouescape: BooleanSetting
  178. val nowarn: BooleanSetting
    Definition Classes
    StandardScalaSettings
  179. def nowarnings: BooleanSetting
  180. val opt: MultiChoiceSetting[MutableSettings.optChoices.type]
  181. def optAddToBytecodeRepository: Boolean
  182. def optBoxUnbox: Boolean
  183. def optBuildCallGraph: Boolean
  184. def optClosureInvocations: Boolean
  185. def optCompactLocals: Boolean
  186. def optCopyPropagation: Boolean
  187. val optInlineFrom: MultiStringSetting
  188. def optInlinerEnabled: Boolean
  189. def optLClasspath: Boolean
  190. def optLProject: Boolean
  191. def optNone: Boolean
  192. def optNullnessTracking: Boolean
  193. def optRedundantCasts: Boolean
  194. def optSimplifyJumps: Boolean
  195. def optUnreachableCode: Boolean
  196. def optWarningEmitAtInlineFailed: Boolean
  197. def optWarningNoInlineMissingBytecode: Boolean
  198. def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
  199. def optWarningNoInlineMixed: Boolean
  200. val optWarnings: MultiChoiceSetting[MutableSettings.optWarningsChoices.type]
  201. def optWarningsSummaryOnly: Boolean
  202. val optimise: BooleanSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  203. def outdir: OutputSetting
  204. val overrideObjects: BooleanSetting

    -Y "Private" settings

  205. val overrideVars: BooleanSetting
  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: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  215. def releaseValue: Option[String]
    Definition Classes
    StandardScalaSettings
  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. val strictInference: BooleanSetting
  230. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  231. val target: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  232. def targetValue: String
    Definition Classes
    StandardScalaSettings
  233. val termConflict: ChoiceSetting
  234. def toString(): String
    Definition Classes
    AnyRef → Any
  235. val unchecked: BooleanSetting
    Definition Classes
    StandardScalaSettings
  236. val uniqid: BooleanSetting
    Definition Classes
    StandardScalaSettings
  237. val unsafe: MultiStringSetting
  238. val usejavacp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  239. val usemanifestcp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  240. val verbose: BooleanSetting
    Definition Classes
    StandardScalaSettings
  241. val version: BooleanSetting
    Definition Classes
    StandardScalaSettings
  242. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  243. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  244. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  245. def warnAdaptedArgs: Boolean
    Definition Classes
    Warnings
  246. def warnByNameRightAssociative: Boolean
    Definition Classes
    Warnings
  247. def warnConstant: Boolean
    Definition Classes
    Warnings
  248. val warnDeadCode: BooleanSetting
    Definition Classes
    Warnings
  249. def warnDelayedInit: Boolean
    Definition Classes
    Warnings
  250. def warnDocDetached: 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 warnNullaryOverride: Boolean
    Definition Classes
    Warnings
  257. def warnNullaryUnit: Boolean
    Definition Classes
    Warnings
  258. val warnNumericWiden: BooleanSetting
    Definition Classes
    Warnings
  259. def warnOptionImplicit: Boolean
    Definition Classes
    Warnings
  260. def warnPackageObjectClasses: Boolean
    Definition Classes
    Warnings
  261. def warnPolyImplicitOverload: Boolean
    Definition Classes
    Warnings
  262. def warnPrivateShadow: Boolean
    Definition Classes
    Warnings
  263. val warnSelfImplicit: BooleanSetting
    Definition Classes
    Warnings
  264. def warnStarsAlign: Boolean
    Definition Classes
    Warnings
  265. def warnTypeParameterShadow: Boolean
    Definition Classes
    Warnings
  266. def warnUnsoundMatch: Boolean
    Definition Classes
    Warnings
  267. val warnUnused: MultiChoiceSetting[MutableSettings.UnusedWarnings.type]
    Definition Classes
    Warnings
  268. def warnUnusedExplicits: Boolean
    Definition Classes
    Warnings
  269. def warnUnusedImplicits: Boolean
    Definition Classes
    Warnings
  270. def warnUnusedImport: Boolean
    Definition Classes
    Warnings
  271. def warnUnusedLocals: Boolean
    Definition Classes
    Warnings
  272. def warnUnusedNowarn: Boolean
    Definition Classes
    Warnings
  273. def warnUnusedParams: Boolean
    Definition Classes
    Warnings
  274. def warnUnusedPatVars: Boolean
    Definition Classes
    Warnings
  275. def warnUnusedPrivates: Boolean
    Definition Classes
    Warnings
  276. val warnValueDiscard: BooleanSetting
    Definition Classes
    Warnings
  277. val warnValueOverrides: BooleanSetting
    Definition Classes
    Warnings
  278. def [B](y: B): (ScalaSettings, B)
    Implicit
    This member is added by an implicit conversion from ScalaSettings to ArrowAssoc[ScalaSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
  279. object CachePolicy
  280. object MacroExpand
  281. object XxmlSettings extends MultiChoiceEnumeration
  282. object languageFeatures extends MultiChoiceEnumeration
  283. object mixinForwarderChoices
  284. object optChoices extends MultiChoiceEnumeration
  285. object optWarningsChoices extends MultiChoiceEnumeration
  286. object LintWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  287. 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. def YwarnAdaptedArgs: Boolean
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnAdaptedArgs

  4. def YwarnInaccessible: Boolean
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnInaccessible

  5. def YwarnInferAny: Boolean
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnInferAny

  6. def YwarnNullaryOverride: Boolean
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnNullaryOverride

  7. def YwarnNullaryUnit: Boolean
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnNullaryUnit

  8. def Ywarndeadcode: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use warnDeadCode

  9. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ScalaSettings to StringFormat[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.

Inherited from Warnings

Inherited from StandardScalaSettings

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ScalaSettings to any2stringadd[ScalaSettings]

Inherited by implicit conversion StringFormat from ScalaSettings to StringFormat[ScalaSettings]

Inherited by implicit conversion Ensuring from ScalaSettings to Ensuring[ScalaSettings]

Inherited by implicit conversion ArrowAssoc from ScalaSettings to ArrowAssoc[ScalaSettings]

Ungrouped