How to import scala class automatically in eclipse?

I use eclipse as my scala ide. And I know that in java I can use shorthand content helper to import classes. Therefore, I do not need a type in the entire class name. You just need to enter the first few characters.

But in scala, I cannot automatically import classes. I need to make some adjustments, or simply because the scala plugin does not support this.

+3
source share
2 answers

There is a Scala IDE for Eclipse , however today it is not very mature, but is improving every day. As far as I remember, it can be imported automatically, or you can use the global import hotkey Eclipse ctrl + shift + o.

+3

Ctrl + 1

:)

+4

All Articles