Is there a way to avoid typing whole package names in the Scala interpreter in Eclipse? -



Is there a way to avoid typing whole package names in the Scala interpreter in Eclipse? -

i writing project in scala in eclipse , it's real hassle having type whole bundle names classes i've written. example:

if write class sender in bundle com.ab.cd.ef.gh whenever seek , utilize object have like:

val sender = com.ab.cd.ef.gh.sender.getsender

or similar. there way set interpreter have type in

val sender = sender.getsender

?

use import com.ab.cd.ef.gh._ import whole package. see here more details on scala import statements

eclipse scala

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -