intellij-idea

Any shortcut to open the file from its diff view?


When you open files from the commit panel it will open the diff, is there any shortcut to open the file instead of the diff or to open the actual file from the diff?

Opening the file from here will open Commit: TestScript.py. How can I quickly open TestScript.py from there?

commit panel

enter image description here


Solution

  • In the changes list, you can right-click the file, and Jump to source.

    The shortcut (at least with my config) is F4, which also works inside the commit diff view itself.