You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
valclasspath:Setting[String] =PathSetting("-classpath", "Specify where to find user class files.", defaultClasspath) withAbbreviation "-cp" withAbbreviation "--class-path"
22
+
valclasspath:Setting[String] =PathSetting("-classpath", "Specify where to find user class files.", defaultClasspath, aliases =List("-cp", "--class-path"))
23
23
valoutputDir:Setting[AbstractFile] =OutputSetting("-d", "directory|jar", "Destination for generated classfiles.",
valsilentWarnings:Setting[Boolean] =BooleanSetting("-nowarn", "Silence all warnings.", aliases =List("--no-warnings"))
30
30
31
31
/** Other settings */
32
-
valencoding:Setting[String] =StringSetting("-encoding", "encoding", "Specify character encoding used by source files.", Properties.sourceEncoding) withAbbreviation "--encoding"
33
-
valusejavacp:Setting[Boolean] =BooleanSetting("-usejavacp", "Utilize the java.class.path in classpath resolution.") withAbbreviation "--use-java-class-path"
32
+
valencoding:Setting[String] =StringSetting("-encoding", "encoding", "Specify character encoding used by source files.", Properties.sourceEncoding, aliases =List("--encoding"))
33
+
valusejavacp:Setting[Boolean] =BooleanSetting("-usejavacp", "Utilize the java.class.path in classpath resolution.", aliases =List("--use-java-class-path"))
34
34
35
35
/** Plugin-related setting */
36
36
valplugin:Setting[List[String]] =MultiStringSetting ("-Xplugin", "paths", "Load a plugin from each classpath.")
@@ -88,19 +88,19 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
88
88
/** Path related settings */
89
89
valsemanticdbTarget:Setting[String] =PathSetting("-semanticdb-target", "Specify an alternative output directory for SemanticDB files.", "")
90
90
91
-
valdeprecation:Setting[Boolean] =BooleanSetting("-deprecation", "Emit warning and location for usages of deprecated APIs.") withAbbreviation "--deprecation"
92
-
valexplainTypes:Setting[Boolean] =BooleanSetting("-explain-types", "Explain type errors in more detail.") withAbbreviation "--explain-types"
93
-
valexplain:Setting[Boolean] =BooleanSetting("-explain", "Explain errors in more detail.") withAbbreviation "--explain"
94
-
valfeature:Setting[Boolean] =BooleanSetting("-feature", "Emit warning and location for usages of features that should be imported explicitly.") withAbbreviation "--feature"
95
-
valhelp:Setting[Boolean] =BooleanSetting("-help", "Print a synopsis of standard options.") withAbbreviation "--help"
96
-
valrelease:Setting[String] =ChoiceSetting("-release", "release", "Compile code with classes specific to the given version of the Java platform available on the classpath and emit bytecode for this version.", supportedReleaseVersions, "").withAbbreviation("--release")
valscalajs:Setting[Boolean] =BooleanSetting("-scalajs", "Compile in Scala.js mode (requires scalajs-library.jar on the classpath).") withAbbreviation "--scalajs"
99
-
valunchecked:Setting[Boolean] =BooleanSetting("-unchecked", "Enable additional warnings where generated code depends on assumptions.") withAbbreviation "--unchecked"
100
-
valuniqid:Setting[Boolean] =BooleanSetting("-uniqid", "Uniquely tag all identifiers in debugging output.") withAbbreviation "--unique-id"
101
-
vallanguage:Setting[List[String]] =MultiStringSetting("-language", "feature", "Enable one or more language features.") withAbbreviation "--language"
102
-
valrewrite:Setting[Option[Rewrites]] =OptionSetting[Rewrites]("-rewrite", "When used in conjunction with a `...-migration` source version, rewrites sources to migrate to new version.") withAbbreviation "--rewrite"
103
-
valfromTasty:Setting[Boolean] =BooleanSetting("-from-tasty", "Compile classes from tasty files. The arguments are .tasty or .jar files.") withAbbreviation "--from-tasty"
91
+
valdeprecation:Setting[Boolean] =BooleanSetting("-deprecation", "Emit warning and location for usages of deprecated APIs.", aliases =List("--deprecation"))
92
+
valexplainTypes:Setting[Boolean] =BooleanSetting("-explain-types", "Explain type errors in more detail.", aliases =List("--explain-types"))
93
+
valexplain:Setting[Boolean] =BooleanSetting("-explain", "Explain errors in more detail.", aliases =List("--explain"))
94
+
valfeature:Setting[Boolean] =BooleanSetting("-feature", "Emit warning and location for usages of features that should be imported explicitly.", aliases =List("--feature"))
95
+
valhelp:Setting[Boolean] =BooleanSetting("-help", "Print a synopsis of standard options.", aliases =List("--help"))
96
+
valrelease:Setting[String] =ChoiceSetting("-release", "release", "Compile code with classes specific to the given version of the Java platform available on the classpath and emit bytecode for this version.", supportedReleaseVersions, "", aliases =List("--release"))
valscalajs:Setting[Boolean] =BooleanSetting("-scalajs", "Compile in Scala.js mode (requires scalajs-library.jar on the classpath).", aliases =List("--scalajs"))
99
+
valunchecked:Setting[Boolean] =BooleanSetting("-unchecked", "Enable additional warnings where generated code depends on assumptions.", aliases =List("--unchecked"))
100
+
valuniqid:Setting[Boolean] =BooleanSetting("-uniqid", "Uniquely tag all identifiers in debugging output.", aliases =List("--unique-id"))
101
+
vallanguage:Setting[List[String]] =MultiStringSetting("-language", "feature", "Enable one or more language features.", aliases =List("--language"))
102
+
valrewrite:Setting[Option[Rewrites]] =OptionSetting[Rewrites]("-rewrite", "When used in conjunction with a `...-migration` source version, rewrites sources to migrate to new version.", aliases =List("--rewrite"))
103
+
valfromTasty:Setting[Boolean] =BooleanSetting("-from-tasty", "Compile classes from tasty files. The arguments are .tasty or .jar files.", aliases =List("--from-tasty"))
104
104
105
105
valnewSyntax:Setting[Boolean] =BooleanSetting("-new-syntax", "Require `then` and `do` in control expressions.")
106
106
valoldSyntax:Setting[Boolean] =BooleanSetting("-old-syntax", "Require `(...)` around conditions.")
@@ -109,8 +109,8 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
109
109
valYindentColons:Setting[Boolean] =BooleanSetting("-Yindent-colons", "Allow colons at ends-of-lines to start indentation blocks.")
110
110
111
111
/** Decompiler settings */
112
-
valprintTasty:Setting[Boolean] =BooleanSetting("-print-tasty", "Prints the raw tasty.") withAbbreviation "--print-tasty"
113
-
valprintLines:Setting[Boolean] =BooleanSetting("-print-lines", "Show source code line numbers.") withAbbreviation "--print-lines"
112
+
valprintTasty:Setting[Boolean] =BooleanSetting("-print-tasty", "Prints the raw tasty.", aliases =List("--print-tasty"))
113
+
valprintLines:Setting[Boolean] =BooleanSetting("-print-lines", "Show source code line numbers.", aliases =List("--print-lines"))
114
114
115
115
/** Scala.js-related settings */
116
116
valscalajsGenStaticForwardersForNonTopLevelObjects:Setting[Boolean] =BooleanSetting("-scalajs-genStaticForwardersForNonTopLevelObjects", "Generate static forwarders even for non-top-level objects (Scala.js only)")
@@ -135,8 +135,8 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
135
135
valXverifySignatures:Setting[Boolean] =BooleanSetting("-Xverify-signatures", "Verify generic signatures in generated bytecode.")
136
136
valXignoreScala2Macros:Setting[Boolean] =BooleanSetting("-Xignore-scala2-macros", "Ignore errors when compiling code that calls Scala2 macros, these will fail at runtime.")
137
137
valXimportSuggestionTimeout:Setting[Int] =IntSetting("-Ximport-suggestion-timeout", "Timeout (in ms) for searching for import suggestions when errors are reported.", 8000)
138
-
valXsemanticdb:Setting[Boolean] =BooleanSetting("-Xsemanticdb", "Store information in SemanticDB.").withAbbreviation("-Ysemanticdb")
139
-
valXtarget:Setting[String] =ChoiceSetting("-Xtarget", "target", "Emit bytecode for the specified version of the Java platform. This might produce bytecode that will break at runtime. When on JDK 9+, consider -release as a safer alternative.", supportedTargetVersions, "") withAbbreviation "--Xtarget"
138
+
valXsemanticdb:Setting[Boolean] =BooleanSetting("-Xsemanticdb", "Store information in SemanticDB.", aliases =List("-Ysemanticdb"))
139
+
valXtarget:Setting[String] =ChoiceSetting("-Xtarget", "target", "Emit bytecode for the specified version of the Java platform. This might produce bytecode that will break at runtime. When on JDK 9+, consider -release as a safer alternative.", supportedTargetVersions, "", aliases =List("--Xtarget"))
140
140
141
141
valXmixinForceForwarders=ChoiceSetting(
142
142
name ="-Xmixin-force-forwarders",
@@ -175,7 +175,7 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
175
175
valYnoPredef:Setting[Boolean] =BooleanSetting("-Yno-predef", "Compile without importing Predef.")
valYdumpclasses:Setting[String] =StringSetting("-Ydump-classes", "dir", "Dump the generated bytecode to .class files (useful for reflective compilation that utilizes in-memory classloaders).", "")
valYstopBefore:Setting[List[String]] =PhasesSetting("-Ystop-before", "Stop before") // stop before erasure as long as we have not debugged it fully
180
180
valYshowSuppressedErrors:Setting[Boolean] =BooleanSetting("-Yshow-suppressed-errors", "Also show follow-on errors and warnings that are normally suppressed.")
181
181
valYdetailedStats:Setting[Boolean] =BooleanSetting("-Ydetailed-stats", "Show detailed internal compiler stats (needs Stats.enabled to be set to true).")
0 commit comments