, .
package object all ( ), , .
, , , .
import :
import com.foo.bar._, com.foo.baz._, ...
but all the ways to shorten the list further do not do exactly the same (for example, he will import the name barhimself, and not just its contents - this may not be a problem for you, but it is something conscious).
However, until the export mechanism appears, your code will be as readable and supported as possible if you print everything on your own line. It is much harder to notice something missing or added when everything is stuck on the same line.
source
share