Search code examples
phpstormphpstorm-10

How can I move focus from any other tool window to text editor in PhpStorm?


For an example after I go to the Project tab with Alt+1 shortcut and open specific file with pressing Enter I then want to go and edit content with single shortcut. Is there any way to do it?

There is couple of things that I can use, but neither does exactly what I want:

  • Ctrl+Tab - that opens the switcher and selects next file in switcher instead of allowing me to edit file with single Ctrl+Tab

  • Ctrl+E or Ctrl+Shift+E do different things but basically the result is simmilar as above

What I want is to simply edit the file after opening it with keyboard from Projects tab (without using mouse).


Solution

  • How can I move focus from any other tool window to text editor in PhpStorm?

    Just press Esc key.

    Works in every tool window. For built-in Terminal though you can (may have to) configure different shortcut for such action (as Esc can be needed there).


    For an example after I go to the Project tab with Alt+1 shortcut and open specific file with pressing Enter I then want to go and edit content with single shortcut. Is there any way to do it?

    Use F4 for that (action is available in context menu and called Jump to Source).


    Ctrl+Tab - that opens the switcher and selects next file in switcher instead of allowing me to edit file with single Ctrl+Tab

    Just press and release it quickly: it works just like Alt + Tab on Windows. If you keep modifier key pressed (Ctrl in this particular case) it will keep the Switcher window opened.