Monday, 13 December 2021

Eclipse: Organize imports of a project with single keystroke

Approach 1: Using keyboard short cuts

 

In Windows, select the project in the package explorer and press the command: ctrl + shift + o

 

In Mac, select the project in the package explorer and press the command: command + shift + o

 

Approach 2: Right click on the project -> source -> Organize Imports.

 


Previous                                                    Next                                                    Home

No comments:

Post a Comment