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
valencoding:Setting[String] =StringSetting("-encoding", "encoding", "Specify character encoding used by source files.", Properties.sourceEncoding, aliases =List("--encoding"))
46
46
valusejavacp:Setting[Boolean] =BooleanSetting("-usejavacp", "Utilize the java.class.path in classpath resolution.", aliases =List("--use-java-class-path"))
47
+
valscalajs:Setting[Boolean] =BooleanSetting("-scalajs", "Compile in Scala.js mode (requires scalajs-library.jar on the classpath).", aliases =List("--scalajs"))
47
48
48
49
/** Plugin-related setting */
49
50
valplugin:Setting[List[String]] =MultiStringSetting ("-Xplugin", "paths", "Load a plugin from each classpath.")
// Keep synchronized with `classfileVersion` in `BCodeIdiomatic`
59
60
privatevalminTargetVersion=8
60
61
privatevalmaxTargetVersion=17
@@ -80,7 +81,6 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
80
81
valfeature:Setting[Boolean] =BooleanSetting("-feature", "Emit warning and location for usages of features that should be imported explicitly.", aliases =List("--feature"))
81
82
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"))
84
84
valunchecked:Setting[Boolean] =BooleanSetting("-unchecked", "Enable additional warnings where generated code depends on assumptions.", aliases =List("--unchecked"))
85
85
valuniqid:Setting[Boolean] =BooleanSetting("-uniqid", "Uniquely tag all identifiers in debugging output.", aliases =List("--unique-id"))
86
86
vallanguage:Setting[List[String]] =MultiStringSetting("-language", "feature", "Enable one or more language features.", aliases =List("--language"))
@@ -225,3 +225,5 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
225
225
226
226
valwikiSyntax:Setting[Boolean] =BooleanSetting("-Xwiki-syntax", "Retains the Scala2 behavior of using Wiki Syntax in Scaladoc.")
0 commit comments