Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I import all unimported classes in Scala IDE?

When I use Java with Eclipse and write a class, sometimes I have to import classes. The fastest way to do that is with a keyboard shortcut: CtrlShiftO. But this keyboard shortcut seem to be broken in Scala IDE. It opens an empty "Refactoring" popup instead.

Is there a keyboard shortcut for importing all unimported classes in Scala IDE?

like image 596
Jonas Avatar asked Jan 31 '26 11:01

Jonas


1 Answers

Our current implementation of Organize Imports doesn't add missing imports, it only reorganizes the existing ones and removes unneeded ones. I'm currently working on an improved version, and adding missing imports is also on my agenda.

In the meantime, we already have a quickfix that you can use to import a single missing import.

like image 131
Mirko Stocker Avatar answered Feb 03 '26 04:02

Mirko Stocker