Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

opposite to "go to declaration" in phpstorm

Tags:

php

phpstorm

When I use phpstorm I often use "Go to declaration" by pressing CTRL and left mouse click. This takes me to the method declaration in the class. Thats fine but few moments later I want to scroll back where I just clicked declared method.

Is there a keyboard shortcut to scroll back where I just looked or I need to always remember to bookmark a view before I click "Go to declaration"?

like image 639
TroodoN-Mike Avatar asked Feb 09 '14 09:02

TroodoN-Mike


2 Answers

Ctrl+Alt+<left arrow>

....................

like image 198
zerkms Avatar answered Sep 27 '22 18:09

zerkms


@zerkms anwser is OK but if you have intelHD (intel3000 or something similar graphic card you will need to disable rotating screen shortcuts (or just change them).

This is how to do it:

  • press CTRL+ALT+F12(to open up HDIntel Utility)
  • select Options
  • and then choose shortcuts for rotating screen or just turn off all of them
like image 23
born2fr4g Avatar answered Sep 27 '22 17:09

born2fr4g