Track active/open item in Project Explorer
Answered
Hi,
I'm quite new to IntelliJ (9.0.1 Community Edition) and I wonder if there is an option to focus/track the currently opened file/item in the Project Explorer on the left part?
In Visual Studio 2008 I found the option "Track active item in solution explorer" very useful (see http://blogs.msdn.com/jannemattila/archive/2009/02/21/visual-studio-2008-track-active-item-in-solution-explorer.aspx).
Thanks,
Jan
Please sign in to leave a comment.
Hello Jan,
Press the "Options" button in the project view toolbar and enable the "Autoscroll
from source" option.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
thanks, that helped
I found this page while searching how to enable tracking active item for WebStorm, so decided to make a comment. I eventually found it in this menu item:
I wish this answer was more visible in search results. I had to really go on a quest to find this feature. Many (all that I saw) of the other answers mentioned some kind of hotkey shortcut, which is an not an unacceptable solution to me, because the system should just DO this. And now it does. Thank you for the answer, and for the feature in the editor. :)
It's a part of the official documentation: https://www.jetbrains.com/help/idea/navigating-through-the-source-code.html#scroll_to_from_source.