Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to jump the top of the file in PhpStorm?

Tags:

phpstorm

Does anyone know if there's a shortcut key on Mac for going directly to the top of the file? (Or, for that matter, the bottom?) I can't find one so for now I'm using Cmd-G, 1.

Thanks.

like image 624
Shaun Moss Avatar asked Oct 07 '12 01:10

Shaun Moss


People also ask

How do you get to the top of a file in Intellij?

on windows, it is by default Ctrl + Home to go to the beginning of a file and Ctrl+End for the end.

How do I get to the top of a file in Pycharm?

You navigate to the top of the file using Ctrl + Home .

How do I switch between tabs in PhpStorm?

Switch between tabsIn the editor, press Ctrl+Tab . Keep pressing Ctrl for the Switcher window to stay open. Use Tab to switch between tabs and other files.

How do I navigate source code?

To navigate forward, press Ctrl+Alt+Right . To navigate to the last edited location, press Ctrl+Shift+Backspace . To find the current caret location in the editor, press Ctrl+M . This action might be helpful if you do not want to scroll through a large file.


1 Answers

Cmd+Home / Cmd+End

If your keyboard lacks Home/End keys, use fn+/fn+ (reference)

You can always change the default shortcuts in PhpStorm Preferences | Keymap:

enter image description here

like image 107
CrazyCoder Avatar answered Sep 26 '22 04:09

CrazyCoder