I am more familiar in Eclipse and need the IntelliJ equivalent. In Eclipse, I could open a java class, right click, show file in package explorer and it would highlight the file on the left. What is the IntelliJ equivalent.
You can press Alt-Home, it goes to the navigation bar. Go to or select the package by pressing left arrow. Press F4 now to see it in the project view.
In Eclipse, go to Window->Preferences, and select General->Appearance. You can change the font in there. I don't know what IntelliJ uses, but you can probably look it up in IntelliJ, and just match it.
The Package Explorer view, shown by default in the Java perspective, shows the Java element hierarchy of the Java projects in your workbench. It provides you with a Java-specific view of the resources shown in the Navigator. The element hierarchy is derived from the project's build paths.
You can import either an Eclipse workspace or a single Eclipse project. To do this, click Open on the Welcome Screen or select File | Open in the main menu. IntelliJ IDEA automatically detects Eclipse projects located on your computer and places them in the dedicated node right on the Welcome screen.
The way IntelliJ IDEA compiles projects is different from Eclipse in a number of ways. By default, IntelliJ IDEA doesn't automatically compile projects on saving because normally we don't invoke the save action explicitly in IntelliJ IDEA.
How to find package explorer in Java eclipse project? 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.
By default, IntelliJ IDEA doesn't automatically compile projects on saving because normally we don't invoke the save action explicitly in IntelliJ IDEA. If you want to mimic the Eclipse behavior, you can invoke the Build Project action Ctrl+F9 - it will save the changed files and compile them.
You can highlight a file you have open in the editor in a number of views using the Select In...
menu that can be opened using ALT-F1
when the editor window has the cursor.
The most usual ones (Project/Packages) are found under the menu opened by ALT-F1
and then right arrow
.
You can also double click the circle/cross button ontop of the Project view
it will show you the current active file in the project structure
You can turn on Autoscroll from source in Project Tool Window so that the file/class to the left is scrolled to as soon as you open a file for edit.
If this option is on, IntelliJ IDEA automatically navigates from a file in the editor to the corresponding node (file, class, field, method, etc.) in the Project tool window. Note that selecting this option makes the Scroll to Source button unavailable.
It is called "select in project view".
You'd better edit your keymap ! (alt+F1 right arrow is not very efficient...)
file > settings > keymap > select in project view : alt+E for example
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