trait ScalaSettings extends StandardScalaSettings with Warnings
- Alphabetic
- By Inheritance
- ScalaSettings
- Warnings
- StandardScalaSettings
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class CachePolicy extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Vhelp: BooleanSetting
-V "Verbose" settings
- val Vimplicits: BooleanSetting
- val VimplicitsMaxRefined: IntSetting
- val VimplicitsVerboseTree: BooleanSetting
- val VtypeDiffs: BooleanSetting
- val Wconf: MultiStringSetting
- Definition Classes
- Warnings
- val Whelp: BooleanSetting
- Definition Classes
- Warnings
- val Xexperimental: BooleanSetting
- val Xhelp: BooleanSetting
-X "Advanced" settings
- val Xjline: ChoiceSetting
- val XmacroSettings: MultiStringSetting
- val Xmigration: ScalaVersionSetting
- val XmixinForceForwarders: ChoiceSetting
- val XnoPatmatAnalysis: BooleanSetting
- val Xnojline: BooleanSetting
- val Xprint: PhasesSetting
- val Xprintpos: BooleanSetting
- val Xshowcls: StringSetting
- val Xshowobj: StringSetting
- val Xshowtrees: BooleanSetting
- val XshowtreesCompact: BooleanSetting
- val XshowtreesStringified: BooleanSetting
- val Xverify: BooleanSetting
- val Xxml: MultiChoiceSetting[MutableSettings.XxmlSettings.type]
- val YaddBackendThreads: IntSetting
- val YcacheMacroClassLoader: ChoiceSetting
- val YcachePluginClassLoader: ChoiceSetting
- val Ycompacttrees: BooleanSetting
- val YdebugTasty: BooleanSetting
- val Ydelambdafy: ChoiceSetting
- val YdisableFlatCpCaching: BooleanSetting
- val Ydocdebug: BooleanSetting
- val Ydumpclasses: StringSetting
- val YforceFlatCpCaching: BooleanSetting
- val Ygenasmp: StringSetting
- val Yhelp: BooleanSetting
-Y "Private" settings
- val YhotStatisticsEnabled: BooleanSetting
- val Yidedebug: BooleanSetting
- val Yissuedebug: BooleanSetting
- val YjarCompressionLevel: IntSetting
- val YjarFactory: StringSetting
- val Ylogcp: BooleanSetting
- val YmacroAnnotations: BooleanSetting
- val YmacroClasspath: PathSetting
- val YmacroFresh: BooleanSetting
- val YmacrodebugLite: BooleanSetting
- val YmacrodebugVerbose: BooleanSetting
- val Ymacroexpand: ChoiceSetting
- val YmaxQueue: IntSetting
- val Ymemberpos: StringSetting
- val Ynogenericsig: BooleanSetting
- val YoptInlineHeuristics: ChoiceSetting
- val YoptLogInline: StringSetting
- val YoptTrace: StringSetting
- val Youtline: BooleanSetting
- val YpatmatExhaustdepth: IntSetting
- val Ypatmatdebug: BooleanSetting
- val YpickleJava: BooleanSetting
- val YpickleWrite: StringSetting
- val YpickleWriteApiOnly: BooleanSetting
- val Yposdebug: BooleanSetting
- val YpresentationAnyThread: BooleanSetting
- val YpresentationDebug: BooleanSetting
- val YpresentationDelay: IntSetting
- val YpresentationLocateSourceFile: BooleanSetting
- val YpresentationLog: StringSetting
- val YpresentationReplay: StringSetting
- val YpresentationStrict: BooleanSetting
- val YpresentationVerbose: BooleanSetting
IDE-specific settings
- val YprintTrees: ChoiceSetting
- val YprofileDestination: StringSetting
- val YprofileEnabled: BooleanSetting
- val YprofileExternalTool: PhasesSetting
- val YprofileRunGcBetweenPhases: PhasesSetting
- val YprofileTrace: StringSetting
- val Yquasiquotedebug: BooleanSetting
- val Yrangepos: BooleanSetting
- val Yrecursion: IntSetting
- val Yreifycopypaste: BooleanSetting
- val Yreifydebug: BooleanSetting
- val YreplMagicImport: BooleanSetting
- val Yreplclassbased: BooleanSetting
- val Yreploutdir: StringSetting
- val Yscriptrunner: StringSetting
- val Yshow: PhasesSetting
- val Yshowsymkinds: BooleanSetting
- val Yshowsymowners: BooleanSetting
- val Yshowsyms: BooleanSetting
- val Ystatistics: PhasesSetting
- val YstatisticsEnabled: BooleanSetting
- val YtastyNoAnnotations: BooleanSetting
- val YtastyReader: BooleanSetting
- val YtrackDependencies: BooleanSetting
- val Ytyperdebug: BooleanSetting
- val Yvalidatepos: PhasesSetting
- lazy val allSettings: LinkedHashMap[String, Setting]
Set of settings
Set of settings
- Attributes
- protected[scala]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val async: BooleanSetting
- val bootclasspath: PathSetting
Path related settings.
Path related settings.
- Definition Classes
- StandardScalaSettings
- val breakCycles: BooleanSetting
- val browse: PhasesSetting
- val check: PhasesSetting
- val checkInit: BooleanSetting
- val classpath: PathSetting
- Definition Classes
- ScalaSettings → StandardScalaSettings
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def conflictWarning: Option[String]
- val debug: BooleanSetting
- def debuginfo: ChoiceSetting
Compatibility stubs for options whose value name did not previously match the option name.
- 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
- val defines: PrefixSetting
- def dependenciesFile: StringSetting
- val dependencyfile: StringSetting
Other settings.
Other settings.
- Definition Classes
- StandardScalaSettings
- val deprecation: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val developer: BooleanSetting
- def disable(s: Setting): LinkedHashMap[String, Setting]
Disable a setting
- val disable: MultiStringSetting
- val elidebelow: IntSetting
- val encoding: StringSetting
- Definition Classes
- StandardScalaSettings
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val explaintypes: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val exposeEmptyPackage: BooleanSetting
- val extdirs: PathSetting
- Definition Classes
- StandardScalaSettings
- val fatalWarnings: BooleanSetting
- Definition Classes
- Warnings
- val feature: BooleanSetting
- Definition Classes
- StandardScalaSettings
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val future: BooleanSetting
Groups of Settings.
- val g: ChoiceSetting
- Definition Classes
- StandardScalaSettings
- val genPhaseGraph: StringSetting
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val help: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val imports: MultiStringSetting
- def infoSettings: collection.immutable.List[Setting]
If any of these settings is enabled, the compiler should print a message and exit.
- def isInfo: Boolean
Is an info setting set? Any -option:help?
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isScala3: BooleanSetting
- def isScaladoc: Boolean
Test whether this is scaladoc we're looking at
- val javabootclasspath: PathSetting
- Definition Classes
- StandardScalaSettings
- val javaextdirs: PathSetting
- Definition Classes
- StandardScalaSettings
- val jvmargs: PrefixSetting
- val language: MultiChoiceSetting[MutableSettings.languageFeatures.type]
- val lint: MultiChoiceSetting[MutableSettings.LintWarnings.type]
- Definition Classes
- Warnings
- def lintDeprecation: Boolean
- Definition Classes
- Warnings
- def lintImplicitNotFound: Boolean
- Definition Classes
- Warnings
- def lintImplicitRecursion: Boolean
- Definition Classes
- Warnings
- def lintUnused: Boolean
- Definition Classes
- Warnings
- def lintValPatterns: Boolean
- Definition Classes
- Warnings
- val log: PhasesSetting
- val logFreeTerms: BooleanSetting
- val logFreeTypes: BooleanSetting
- val logImplicitConv: BooleanSetting
- val logReflectiveCalls: BooleanSetting
- val mainClass: StringSetting
- val maxerrs: IntSetting
- val maxwarns: IntSetting
- def multiargInfix: Boolean
- Definition Classes
- Warnings
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noCompletion: BooleanSetting
- val noForwarders: BooleanSetting
- val noassertions: noassertions.stabilizer$1.type.s.type forSome {val stabilizer$1: EnableSettings[BooleanSetting]}
- val nobootcp: BooleanSetting
- val noimports: BooleanSetting
- val nonStrictPatmatAnalysis: BooleanSetting
- val nopredef: BooleanSetting
- val nospecialization: BooleanSetting
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val nowarn: BooleanSetting
- Definition Classes
- StandardScalaSettings
- def nowarnings: BooleanSetting
- val opt: MultiChoiceSetting[MutableSettings.optChoices.type]
- def optAddToBytecodeRepository: Boolean
- def optAllowSkipClassLoading: Boolean
- def optAllowSkipCoreModuleInit: Boolean
- def optAssumeModulesNonNull: Boolean
- def optBoxUnbox: Boolean
- def optBuildCallGraph: Boolean
- def optClosureInvocations: Boolean
- def optCompactLocals: Boolean
- def optCopyPropagation: Boolean
- val optInlineFrom: MultiStringSetting
- def optInlinerEnabled: Boolean
- def optNone: Boolean
- def optNullnessTracking: Boolean
- def optRedundantCasts: Boolean
- def optSimplifyJumps: Boolean
- def optUnreachableCode: Boolean
- def optUseAnalyzerCache: Boolean
- def optWarningEmitAtInlineFailed: Boolean
- def optWarningNoInlineMissingBytecode: Boolean
- def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
- def optWarningNoInlineMixed: Boolean
- val optWarnings: MultiChoiceSetting[MutableSettings.optWarningsChoices.type]
- def optWarningsSummaryOnly: Boolean
- val optimise: BooleanSetting
- Definition Classes
- ScalaSettings → StandardScalaSettings
- val outdir: OutputSetting
- val plugin: MultiStringSetting
- val pluginOptions: MultiStringSetting
-P "Plugin" settings
- val pluginsDir: StringSetting
- val print: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val printArgs: StringSetting
- def printLate: BooleanSetting
- val printtypes: BooleanSetting
- val prompt: BooleanSetting
- val release: StringSetting
- def releaseValue: Option[String]
- val reporter: StringSetting
- val require: MultiStringSetting
- val resident: BooleanSetting
- val rootdir: PathSetting
- Definition Classes
- StandardScalaSettings
- val script: StringSetting
- val showPhases: BooleanSetting
- val showPlugins: BooleanSetting
- val skip: PhasesSetting
- val source: ScalaVersionSetting
- val sourceReader: StringSetting
- val sourcepath: PathSetting
- Definition Classes
- StandardScalaSettings
- val stopAfter: PhasesSetting
- val stopBefore: PhasesSetting
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val target: ChoiceSetting
- Definition Classes
- StandardScalaSettings
- val termConflict: ChoiceSetting
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unchecked: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val uniqid: BooleanSetting
- Definition Classes
- StandardScalaSettings
- def unitSpecialization: Boolean
- Definition Classes
- Warnings
- val usejavacp: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val usemanifestcp: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val verbose: BooleanSetting
- Definition Classes
- StandardScalaSettings
- val version: BooleanSetting
- Definition Classes
- StandardScalaSettings
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warnAdaptedArgs: Boolean
- Definition Classes
- Warnings
- def warnByNameImplicit: Boolean
- Definition Classes
- Warnings
- def warnConstant: Boolean
- Definition Classes
- Warnings
- val warnDeadCode: BooleanSetting
- Definition Classes
- Warnings
- def warnDelayedInit: Boolean
- Definition Classes
- Warnings
- def warnDocDetached: Boolean
- Definition Classes
- Warnings
- def warnEtaSam: Boolean
- Definition Classes
- Warnings
- def warnEtaZero: Boolean
- Definition Classes
- Warnings
- val warnExtraImplicit: BooleanSetting
- Definition Classes
- Warnings
- def warnInaccessible: Boolean
- Definition Classes
- Warnings
- def warnInferAny: Boolean
- Definition Classes
- Warnings
- val warnMacros: ChoiceSetting
- Definition Classes
- Warnings
- def warnMissingInterpolator: Boolean
- Definition Classes
- Warnings
- def warnNonlocalReturn: Boolean
- Definition Classes
- Warnings
- def warnNullaryUnit: Boolean
- Definition Classes
- Warnings
- val warnNumericWiden: BooleanSetting
- Definition Classes
- Warnings
- val warnOctalLiteral: BooleanSetting
- Definition Classes
- Warnings
- def warnOptionImplicit: Boolean
- Definition Classes
- Warnings
- def warnPackageObjectClasses: Boolean
- Definition Classes
- Warnings
- def warnPolyImplicitOverload: Boolean
- Definition Classes
- Warnings
- def warnPrivateShadow: Boolean
- Definition Classes
- Warnings
- def warnRecurseWithDefault: Boolean
- Definition Classes
- Warnings
- def warnSerialization: Boolean
- Definition Classes
- Warnings
- def warnStarsAlign: Boolean
- Definition Classes
- Warnings
- def warnStrictUnsealedPatMat: Boolean
- Definition Classes
- Warnings
- def warnTypeParameterShadow: Boolean
- Definition Classes
- Warnings
- val warnUnused: MultiChoiceSetting[MutableSettings.UnusedWarnings.type]
- Definition Classes
- Warnings
- def warnUnusedExplicits: Boolean
- Definition Classes
- Warnings
- def warnUnusedImplicits: Boolean
- Definition Classes
- Warnings
- def warnUnusedImport: Boolean
- Definition Classes
- Warnings
- def warnUnusedLocals: Boolean
- Definition Classes
- Warnings
- def warnUnusedNowarn: Boolean
- Definition Classes
- Warnings
- def warnUnusedParams: Boolean
- Definition Classes
- Warnings
- def warnUnusedPatVars: Boolean
- Definition Classes
- Warnings
- def warnUnusedPrivates: Boolean
- Definition Classes
- Warnings
- def warnUnusedSynthetics: Boolean
- Definition Classes
- Warnings
- val warnValueDiscard: BooleanSetting
- Definition Classes
- Warnings
- val warnValueOverrides: BooleanSetting
- Definition Classes
- Warnings
- object CachePolicy
- object MacroExpand
- object XxmlSettings extends MultiChoiceEnumeration
- object languageFeatures extends MultiChoiceEnumeration
- object mixinForwarderChoices
- object optChoices extends MultiChoiceEnumeration
- object optWarningsChoices extends MultiChoiceEnumeration
- object LintWarnings extends MultiChoiceEnumeration
- Definition Classes
- Warnings
- object UnusedWarnings extends MultiChoiceEnumeration
- Definition Classes
- Warnings
Deprecated Value Members
- def Xchecknull: BooleanSetting
- Definition Classes
- Warnings
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) This option is being removed
- def Xwarnfatal: BooleanSetting
- Definition Classes
- Warnings
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) Use fatalWarnings
- val Yreplsync: BooleanSetting
- Annotations
- @deprecated
- Deprecated
(Since version 2.13) Unused setting will be removed
- def Ywarndeadcode: BooleanSetting
- Definition Classes
- Warnings
- Annotations
- @deprecated
- Deprecated
(Since version 2.11.0) Use warnDeadCode
- def d: OutputSetting
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.2) Use outdir instead.
- 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
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- val warnSelfImplicit: BooleanSetting
- Definition Classes
- Warnings
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.3) Use lintImplicitRecursion
- 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.
The Scala compiler and reflection APIs.