Eclipse equivalent for Visual Studio Ctrl-Dot for importing classes

In Visual Studio, if I try to use a class, I have a definition for (but not imported into my existing file), I can press Ctrl+ ., and I will see a little popup asking me which of these imported classes with the same name I want to import .

What is equivalent to this in Eclipse?

+3
source share
1 answer

Arrange import: Shift+ Ctrl+ Ofor all or Ctrl+ 1> Import ... in one line.

+5
source

Source: https://habr.com/ru/post/1791528/


All Articles