3 ms·
I've actually run into different focus issues, stuff involving WebStorm multiple project windows on Mac and the wrong one getting focus. For focus within the e
by alangpierce 8y ago
I've actually run into different focus issues, stuff involving WebStorm multiple project windows on Mac and the wrong one getting focus.
For focus within the editor, I've been pretty happy, but it does take a little learning to get a feel for the keyboard shortcuts. Quick rundown on focus, at least on Mac (other platforms/keymaps are mostly similar, I think):
• Cmd+1, Cmd+2, Cmd+3 etc focus and toggle the different panels.
• Wherever you are, Escape gets you back to the code. Shift+Escape closes the focused panel and moves back to the code.
• Option+Tab switches between code panes.
• Whenever you open code from any panel, Enter will open the code and leave focus on the panel, and Cmd+Down will open the code and move focus to the code.
I find it easy enough to switch focus that even if an action ends up in a focus state I don't expect, it's just a little muscle memory to move focus to what I want.