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"
23
23
valoutputDir:Setting[AbstractFile] =OutputSetting("-d", "directory|jar", "Destination for generated classfiles.",
24
24
newPlainDirectory(Directory(".")))
25
-
valpriorityclasspath:Setting[String] =PathSetting("-priorityclasspath", "Class path that takes precedence over all other paths (or testing only).", "") withAbbreviation "--priority-class-path"
25
+
valpriorityclasspath:Setting[String] =PathSetting("-priorityclasspath", "Class path that takes precedence over all other paths (for testing only).", "") withAbbreviation "--priority-class-path"
valindent:Setting[Boolean] =BooleanSetting("-indent", "Together with -rewrite, remove {...} syntax when possible due to significant indentation.")
96
96
valnoindent:Setting[Boolean] =BooleanSetting("-noindent", "Require classical {...} syntax, indentation is not significant.")
97
97
valYindentColons:Setting[Boolean] =BooleanSetting("-Yindent-colons", "Allow colons at ends-of-lines to start indentation blocks.")
98
98
@@ -118,12 +118,12 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
118
118
valXprintSuspension:Setting[Boolean] =BooleanSetting("-Xprint-suspension", "Show when code is suspended until macros are compiled.")
119
119
valXprompt:Setting[Boolean] =BooleanSetting("-Xprompt", "Display a prompt after each error (debugging option).")
120
120
valXshowPhases:Setting[Boolean] =BooleanSetting("-Xshow-phases", "Print all compiler phases.")
121
-
valXreplLineWidth:Setting[Int] =IntSetting("-Xrepl-line-width", "Maximal number of columns per line for REPL output.", 390)
122
121
valXreplDisableDisplay:Setting[Boolean] =BooleanSetting("-Xrepl-disable-display", "Do not display definitions in REPL.")
123
122
valXfatalWarnings:Setting[Boolean] =BooleanSetting("-Xfatal-warnings", "Fail the compilation if there are any warnings.")
124
123
valXverifySignatures:Setting[Boolean] =BooleanSetting("-Xverify-signatures", "Verify generic signatures in generated bytecode.")
125
124
valXignoreScala2Macros:Setting[Boolean] =BooleanSetting("-Xignore-scala2-macros", "Ignore errors when compiling code that calls Scala2 macros, these will fail at runtime.")
126
125
valXimportSuggestionTimeout:Setting[Int] =IntSetting("-Ximport-suggestion-timeout", "Timeout (in ms) for searching for import suggestions when errors are reported.", 8000)
126
+
valXsemanticdb:Setting[Boolean] =BooleanSetting("-Xsemanticdb", "Store information in SemanticDB.").withAbbreviation("-Ysemanticdb")
127
127
128
128
valXmixinForceForwarders=ChoiceSetting(
129
129
name ="-Xmixin-force-forwarders",
@@ -138,7 +138,6 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
138
138
}
139
139
140
140
/** -Y "Private" settings */
141
-
valYoverrideVars:Setting[Boolean] =BooleanSetting("-Yoverride-vars", "Allow vars to be overridden.")
142
141
valYhelp:Setting[Boolean] =BooleanSetting("-Y", "Print a synopsis of private options.")
143
142
valYcheck:Setting[List[String]] =PhasesSetting("-Ycheck", "Check the tree at the end of")
144
143
valYcheckMods:Setting[Boolean] =BooleanSetting("-Ycheck-mods", "Check that symbols and their defining trees have modifiers in sync.")
@@ -165,7 +164,6 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
165
164
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
168
-
valYtraceContextCreation:Setting[Boolean] =BooleanSetting("-Ytrace-context-creation", "Store stack trace of context creations.")
169
167
valYshowSuppressedErrors:Setting[Boolean] =BooleanSetting("-Yshow-suppressed-errors", "Also show follow-on errors and warnings that are normally suppressed.")
170
168
valYdetailedStats:Setting[Boolean] =BooleanSetting("-Ydetailed-stats", "Show detailed internal compiler stats (needs Stats.enabled to be set to true).")
171
169
valYkindProjector:Setting[Boolean] =BooleanSetting("-Ykind-projector", "Allow `*` as wildcard to be compatible with kind projector.")
@@ -178,17 +176,14 @@ class ScalaSettings extends Settings.SettingGroup with CommonScalaSettings {
178
176
valYprintDebug:Setting[Boolean] =BooleanSetting("-Yprint-debug", "When printing trees, print some extra information useful for debugging.")
179
177
valYprintDebugOwners:Setting[Boolean] =BooleanSetting("-Yprint-debug-owners", "When printing trees, print owners of definitions.")
180
178
valYshowPrintErrors:Setting[Boolean] =BooleanSetting("-Yshow-print-errors", "Don't suppress exceptions thrown during tree printing.")
valYtestPickler:Setting[Boolean] =BooleanSetting("-Ytest-pickler", "Self-test for pickling functionality; should be used with -Ystop-after:pickler.")
183
-
valYparallelPickler:Setting[Boolean] =BooleanSetting("-Yparallel-pickler", "Run part of the pickling phase in parallel, disable because it breaks some tests.")
184
180
valYcheckReentrant:Setting[Boolean] =BooleanSetting("-Ycheck-reentrant", "Check that compiled program does not contain vars that can be accessed from a global root.")
185
181
valYdropComments:Setting[Boolean] =BooleanSetting("-Ydrop-comments", "Drop comments when scanning source files.")
186
182
valYcookComments:Setting[Boolean] =BooleanSetting("-Ycook-comments", "Cook the comments (type check `@usecase`, etc.)")
187
183
valYforceSbtPhases:Setting[Boolean] =BooleanSetting("-Yforce-sbt-phases", "Run the phases used by sbt for incremental compilation (ExtractDependencies and ExtractAPI) even if the compiler is ran outside of sbt, for debugging.")
188
184
valYdumpSbtInc:Setting[Boolean] =BooleanSetting("-Ydump-sbt-inc", "For every compiled foo.scala, output the API representation and dependencies used for sbt incremental compilation in foo.inc, implies -Yforce-sbt-phases.")
189
185
valYcheckAllPatmat:Setting[Boolean] =BooleanSetting("-Ycheck-all-patmat", "Check exhaustivity and redundancy of all pattern matching (used for testing the algorithm).")
190
186
valYretainTrees:Setting[Boolean] =BooleanSetting("-Yretain-trees", "Retain trees for top-level classes, accessible from ClassSymbol#tree")
191
-
valYsemanticdb:Setting[Boolean] =BooleanSetting("-Ysemanticdb", "Store information in SemanticDB.")
192
187
valYshowTreeIds:Setting[Boolean] =BooleanSetting("-Yshow-tree-ids", "Uniquely tag all tree nodes in debugging output.")
193
188
valYfromTastyIgnoreList:Setting[List[String]] =MultiStringSetting("-Yfrom-tasty-ignore-list", "file", "List of `tasty` files in jar files that will not be loaded when using -from-tasty")
0 commit comments