4 comments
Comment actions Permalink

Hi there,

Navigate | Select in... | Project View

Also check https://stackoverflow.com/a/27281201/783119

3
Comment actions Permalink

there is a Scroll from source button in the Project view toolbar - it selects the currently opened file in the project tree.

 

Also, you can assign a preferred shortcut to Select in Project View action in Preferences | Keymap | Other.


If you need to enable auto-scrolling from source for all files, open Project view options dropdown and choose the Autoscroll from source - when it's enabled, current file is auto-selected in the Project view on opening.

9
Comment actions Permalink

Thank you very much I have been trying to find this for a long time

 

0
Comment actions Permalink

Likewise, many thanks. In the new UI (Dec 2022) it is called "Always Select Opened File" in the Project views options -- much clearer, nice work JetBrains!!

0

Please sign in to leave a comment.