How to jump to source from diff view?

When I click the Commit tab in the left pane, then double-click a file in the changelist, it opens a diff view:

How can I jump to the source file, ClaimRepository.php, from there? Right-clicking on the tab does not offer this option.

Right now I need get back to the Project tab, and navigate manually to the file, which is a PITA.

1
4 comments

F4 by default. You can see/change the shortcut at File | Settings | Keymap:  Main Menu | View | Jump to Source.

4

Thanks a lot, Dmitry. This works wonders.

Note that I would intuitively use the context menu that opens when I right-click the tab, to try and find this "Jump to Source".
Would it be worth opening a feature request for this?

1

Well, if you right click a file in a commit list - the "Jump to source" option would be there:

In my opinion, there's no need to add it in a Diff's view context menu, but you can surely submit this as a new request to a tracker at https://youtrack.jetbrains.com/newIssue 

0

Once you click on “Jump to the source”, is there a quick way to continue to the Diff View ? 

Today, the only way I found is to go back to the Change Panel , to click on the file and to start the Diff comparison from the beginning … 

0

Please sign in to leave a comment.