हम में से अधिकांश scalac -help
, scalac -X
और scalac -Y
के साथ प्राप्त करते हैं।
scala -help
भी मत भूलना।
संपादित करें: sbt
उपयोगकर्ता हमेशा की तरह कर सकते हैं:
> set scalacOptions in Compile += "-X"
> compile
[snip]
[info] -Xcheck-null Warn upon selection of nullable reference.
[info] -Xcheckinit Wrap field accessors to throw an exception on uninitialized access.
[info] -Xdisable-assertions Generate no assertions or assumptions.
[info] -Xdivergence211 Turn on the 2.11 behavior of implicit divergence not terminating recursive implicit searches (SI-7291).
[info] -Xelide-below <n> Calls to @elidable methods are omitted if method priority is lower than argument
[info] -Xexperimental Enable experimental extensions.
[info] -Xfatal-warnings Fail the compilation if there are any warnings.
[snip]
कम से कम आदमी पेज हाल ही में अद्यतन किया गया था:
https://issues.scala-lang.org/browse/SI-7824
स्रोत
2013-09-03 23:38:48
स्रोत और 'ant docs.comp' को पकड़ना एक और विचार है। फिर स्कैला/बिल्ड/स्केलैडोक/कंपाइलर/index.html # scala.tools.nsc. सेटिंग्स एसडीडी और अन्य सेटिंग्स से विरासत में होती है। दुर्भाग्य से, स्कालाडोक केवल एक लिस्टिंग है। एक और विचार ग्रहण आईडीई को पकड़ना और उन स्रोतों को उस तरह ब्राउज़ करना है। –