In IntelliJ IDEA, the "Project" pane on the left has "View as:", with the following options:
If you select "Project" it shows something like Eclipse's "Package Explorer", however if you choose "Packages" and you followed following convention:
it displays a view that merges the "main" and "test" folders, thus showing you the unit tests next to their associate classes (the classes they test). This is quite handy IMO, is there a way to do this in Eclipse (3.7.2)?
Thanks!
You can open it by pressing ⌘+1 on macOS or Alt+1 on Windows and Linux, or by selecting View | Tool Windows | Project from the main menu. The window visualizes the structure of your project and shows you all its components including modules, directories, packages, classes, libraries, SDKs, and so on.
To change settings of a module that hosts the file you are currently editing, just press Alt+F1, 7 or open the View menu, select Select In and click Project Structure. IntelliJ IDEA will open the Project Structure dialog and jump to the required module.
To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.
Upon running Eclipse you should see a pane labeled 'Package Explorer', probably on the left. If you do not see one, you can open it up by going to the Window menu, selecting Show View and Package Explorer. If it doesn't show up under Show View, select Other, then 'Java', then 'Package Explorer'.
This is the way to do it:
Triangle icon -> Package Presentation -> Hierarchial
Note that IntelliJ and AndroidStudio use Gradle style folders, that is src/main...
and eclipse doesn't yet support Gradle and uses the older style.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With