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 Ycompacttrees: BooleanSetting
  29. val Ydelambdafy: ChoiceSetting
  30. val YdisableFlatCpCaching: BooleanSetting
  31. val Ydocdebug: BooleanSetting

    Area-specific debug output.

  32. val Ydumpclasses: StringSetting
  33. val YforceFlatCpCaching: BooleanSetting
  34. val Ygenasmp: StringSetting
  35. val Yhelp: BooleanSetting
  36. val YhotStatistics: BooleanSetting
  37. def YhotStatisticsEnabled: Boolean
  38. val Yidedebug: BooleanSetting
  39. val Yissuedebug: BooleanSetting
  40. val YjarCompressionLevel: IntSetting
  41. val YjarFactory: StringSetting
  42. val Ylogcp: BooleanSetting
  43. val YmacroClasspath: PathSetting
  44. val YmacroFresh: BooleanSetting
  45. val YmacrodebugLite: BooleanSetting
  46. val YmacrodebugVerbose: BooleanSetting
  47. val Ymacroexpand: ChoiceSetting
  48. val Ymacronoexpand: BooleanSetting
  49. val YmaxQueue: IntSetting
  50. val Ymemberpos: StringSetting
  51. val YmethodInfer: BooleanSetting
  52. val Ynogenericsig: BooleanSetting
  53. val YoptInlineHeuristics: ChoiceSetting
  54. val YoptLogInline: StringSetting
  55. val YoptTrace: StringSetting
  56. val Youtline: BooleanSetting
  57. val YpartialUnification: 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 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 Yreplsync: BooleanSetting
  86. val Yshow: PhasesSetting
  87. val Yshowsymkinds: BooleanSetting
  88. val Yshowsymowners: BooleanSetting
  89. val Yshowsyms: BooleanSetting
  90. val Ystatistics: PhasesSetting
  91. def YstatisticsEnabled: Boolean
  92. val YtrackDependencies: BooleanSetting
  93. val Ytyperdebug: BooleanSetting
  94. val Yvalidatepos: PhasesSetting
  95. val Yvirtpatmat: BooleanSetting
  96. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

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

    Path related settings.

    Path related settings.

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

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

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

    Other settings.

    Other settings.

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

    Disable a setting

  117. val disable: MultiStringSetting
  118. val elidebelow: IntSetting
  119. val encoding: StringSetting
    Definition Classes
    StandardScalaSettings
  120. 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
  121. 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
  122. 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
  123. 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
  124. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  125. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  126. def experimentalSettings: collection.immutable.List[BooleanSetting]

    Enabled under -Xexperimental.

    Enabled under -Xexperimental.

    Attributes
    protected
  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. val future: future._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}

    Groups of Settings.

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

    Enabled under -Xfuture.

    Enabled under -Xfuture.

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

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

  141. def isInfo: Boolean

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

  142. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  143. def isScala211: Boolean
  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 lintIntDivToFloat: Boolean
    Definition Classes
    Warnings
  155. def lintUnused: Boolean
    Definition Classes
    Warnings
  156. val log: PhasesSetting
  157. val logFreeTerms: BooleanSetting
  158. val logFreeTypes: BooleanSetting
  159. val logImplicitConv: BooleanSetting
  160. val logReflectiveCalls: BooleanSetting
  161. val mainClass: StringSetting
  162. val maxClassfileName: IntSetting
  163. val maxerrs: IntSetting
  164. val maxwarns: IntSetting
  165. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  166. val noAdaptedArgs: BooleanSetting
  167. val noCompletion: BooleanSetting
  168. val noForwarders: BooleanSetting
  169. val noassertions: noassertions._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}
  170. val nobootcp: BooleanSetting
  171. val noimports: BooleanSetting
  172. val nopredef: BooleanSetting
  173. val nospecialization: BooleanSetting
  174. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  175. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  176. val nouescape: BooleanSetting
  177. val nowarn: BooleanSetting
    Definition Classes
    StandardScalaSettings
  178. def nowarnings: BooleanSetting
  179. val opt: MultiChoiceSetting[MutableSettings.optChoices.type]
  180. def optAddToBytecodeRepository: 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 optLClasspath: Boolean
  189. def optLProject: Boolean
  190. def optNone: Boolean
  191. def optNullnessTracking: Boolean
  192. def optRedundantCasts: Boolean
  193. def optSimplifyJumps: Boolean
  194. def optUnreachableCode: Boolean
  195. def optWarningEmitAtInlineFailed: Boolean
  196. def optWarningNoInlineMissingBytecode: Boolean
  197. def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
  198. def optWarningNoInlineMixed: Boolean
  199. val optWarnings: MultiChoiceSetting[MutableSettings.optWarningsChoices.type]
  200. def optWarningsSummaryOnly: Boolean
  201. val optimise: BooleanSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  202. def outdir: OutputSetting
  203. val overrideObjects: BooleanSetting

    -Y "Private" settings

  204. val overrideVars: BooleanSetting
  205. val plugin: MultiStringSetting
  206. val pluginOptions: MultiStringSetting

    -P "Plugin" settings

  207. val pluginsDir: StringSetting
  208. val print: BooleanSetting
    Definition Classes
    StandardScalaSettings
  209. val printArgs: StringSetting
  210. def printLate: BooleanSetting
  211. val printtypes: BooleanSetting
  212. val prompt: BooleanSetting
  213. val release: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  214. def releaseValue: Option[String]
    Definition Classes
    StandardScalaSettings
  215. val reporter: StringSetting
  216. val require: MultiStringSetting
  217. val resident: BooleanSetting
  218. val rootdir: PathSetting
    Definition Classes
    StandardScalaSettings
  219. val script: StringSetting
  220. val showPhases: BooleanSetting
  221. val showPlugins: BooleanSetting
  222. val skip: PhasesSetting
  223. val source: ScalaVersionSetting
  224. val sourceReader: StringSetting
  225. val sourcepath: PathSetting
    Definition Classes
    StandardScalaSettings
  226. val stopAfter: PhasesSetting
  227. val stopBefore: PhasesSetting
  228. val strictInference: BooleanSetting
  229. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  230. val target: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  231. def targetValue: String
    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. 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( ... )
  241. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  242. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  243. def warnAdaptedArgs: Boolean
    Definition Classes
    Warnings
  244. def warnByNameRightAssociative: 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. val warnExtraImplicit: BooleanSetting
    Definition Classes
    Warnings
  250. def warnInaccessible: Boolean
    Definition Classes
    Warnings
  251. def warnInferAny: Boolean
    Definition Classes
    Warnings
  252. val warnMacros: ChoiceSetting
    Definition Classes
    Warnings
  253. def warnMissingInterpolator: Boolean
    Definition Classes
    Warnings
  254. def warnNullaryOverride: Boolean
    Definition Classes
    Warnings
  255. def warnNullaryUnit: Boolean
    Definition Classes
    Warnings
  256. val warnNumericWiden: BooleanSetting
    Definition Classes
    Warnings
  257. def warnOptionImplicit: Boolean
    Definition Classes
    Warnings
  258. def warnPackageObjectClasses: Boolean
    Definition Classes
    Warnings
  259. def warnPolyImplicitOverload: Boolean
    Definition Classes
    Warnings
  260. def warnPrivateShadow: Boolean
    Definition Classes
    Warnings
  261. val warnSelfImplicit: BooleanSetting
    Definition Classes
    Warnings
  262. def warnStarsAlign: Boolean
    Definition Classes
    Warnings
  263. def warnTypeParameterShadow: Boolean
    Definition Classes
    Warnings
  264. def warnUnsoundMatch: Boolean
    Definition Classes
    Warnings
  265. val warnUnused: MultiChoiceSetting[MutableSettings.UnusedWarnings.type]
    Definition Classes
    Warnings
  266. def warnUnusedExplicits: Boolean
    Definition Classes
    Warnings
  267. def warnUnusedImplicits: Boolean
    Definition Classes
    Warnings
  268. def warnUnusedImport: Boolean
    Definition Classes
    Warnings
  269. def warnUnusedLocals: Boolean
    Definition Classes
    Warnings
  270. def warnUnusedNowarn: Boolean
    Definition Classes
    Warnings
  271. def warnUnusedParams: Boolean
    Definition Classes
    Warnings
  272. def warnUnusedPatVars: Boolean
    Definition Classes
    Warnings
  273. def warnUnusedPrivates: Boolean
    Definition Classes
    Warnings
  274. val warnValueDiscard: BooleanSetting
    Definition Classes
    Warnings
  275. val warnValueOverrides: BooleanSetting
    Definition Classes
    Warnings
  276. 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
  277. object CachePolicy
  278. object MacroExpand
  279. object XxmlSettings extends MultiChoiceEnumeration
  280. object languageFeatures extends MultiChoiceEnumeration
  281. object mixinForwarderChoices
  282. object optChoices extends MultiChoiceEnumeration
  283. object optWarningsChoices extends MultiChoiceEnumeration
  284. object LintWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  285. 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