Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scala IDE for eclipse: Any way to "quickfix" imports?

For Java, in the editor of a class, I am used to hovering over an unknown class to bring up the quickfix menu which suggests imports to resolve the problem quickly.

Is there any such feature in the Scala IDE for eclipse? Hovering over an unknown class in a scala file does not bring up anything for me, so I end up typing imports manully. That is pretty annoying.

like image 805
hansi Avatar asked Nov 19 '25 01:11

hansi


1 Answers

On a mac: CMD+shift+O adds imports as necessary and putting the cursor on a class name and doing CMD+1 does it for that one thing. Non-mac I'm sure has similar.

like image 131
dhg Avatar answered Nov 21 '25 18:11

dhg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!