문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top