I'm trying to find a nice VS feature "Track Active Item in SOlution Explorer" analog in IDEA. For those who doesn't know - when I switch between files in the main area, VS will highlight the corresponding item in Solution Explorer ("Projects" pane in IDEA).
In Visual Studio's menu go to Tools > Options > Projects and Solutions. Then check "Track Active Item in Solution Explorer".
In the Project tool window, right-click the Project toolbar and from the context menu select Always Select Opened File. After that IntelliJ IDEA will track the file that is currently opened in the active editor tab and locate it in the Project tool window automatically.
Press Shift + cmd + A (Pretty sure it's Shift + Ctrl + A for Windows and Linux) Type select in... Select Select in Project View in the suggestion list.
In IntelliJ IDEA, you can see where and how symbols, such as tags, classes, fields, methods, or functions are defined in your project. For this purpose, the IDE features the Quick Definition popup. To view definition of a symbol, select it in the editor and press Ctrl+Shift+I (or click View | Quick Definition).
Since 2020.1 version the option is called Always Select Opened File:
For the previous versions:
In the Project View there is Autoscroll from Source option when you click on the "gear" icon:
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