
Secondly, the activation mechanism is, as far as I know, specific to JetBrains products. The actions are there, but this shortcut works despite no keys being assigned. First, the shortcut keys above are not in the keymap and do not change with your keymap. This shortcut is extremely odd for a couple reasons. Clone caret above ⌥ ⌥↑ and Clone Caret Below ⌥ ⌥↓

Clicking and dragging with this shortcut adds a selection instead of just a caret. Using this shortcut on an existing caret will remove the caret. The productivity gains from using this come from being able to cut/copy/paste or edit in parallel. You can use this shortcut to add carets and multi-select in ways that are difficult or impossible to do via the keyboard shortcuts. This “shortcut” is not a keyboard shortcut it is, however, arguably the most fundamental and flexible way to create additional carets (i.e. Not only can you multi-select cut, copy, and paste in a sensible manner, but the following shortcuts make multi-selecting fast and easy to integrate into your development workflow. If you haven’t used them before, I highly recommend you start now. JetBrains’ multi-select capabilities are, in my opinion, among its most powerful features. It can be handy when you just want to check whether there’s a shortcut for what you’re trying to do. Just as JetBrains has shortcuts for opening files ⌘⇧O or opening the corresponding test ⌘⇧T, this shortcut brings up the search bar for actions. I used this regularly in AppCode when alternating between running unit tests and the simulator. You may know that ⌃R/ ⌃D runs/debugs the current configuration, but adding the ⌥ key allows you to pick the run/debug configuration in a popup. In general, JetBrains provides parallel Run and Debug shortcuts via the R and D keys respectively. Of course, you could change to a terminal and type out the Git commands as well, but I find my shortcut combo to be even faster than that. Hitting enter twice (once to select the branch and again to check out)Īlthough this sounds like a lot of steps, it’s actually faster than moving my hand off the keyboard, selecting the VCS menu, selecting the branch, selecting checkout, and then moving my hand back.Hitting ⌃V followed by 7 (the number shortcut for branches).I usually check out a different Git branch by: Not all list-style popups have number shortcuts, but they can be handy when they exist. You can try this with another lesser-known shortcut: Select In ⌥F1. Some popups have numbers by the options, and these numbers act as shortcuts.


This works in basically all list-style popups in JetBrains products. Note that the list filters down as you type. You can try this with the better-known shortcut: Generate ⌘N. Typing will automatically filter down the options.This type of JetBrains popup has two features: This action brings up a version control popup for me, that means Git. You can search for shortcuts in the preferences by name or key. You can, however, use the names of these actions to find the corresponding keyboard shortcut in the keymap of your choice.
PHPSTORM KEYBOARD SHORTCUTS MAC OS X
I use a default Mac OS X 10.5+ keymap, so the shortcuts in this article correspond to that. As a JetBrains user for my entire career, I have definitely benefited from these efficiencies over time. Keyboard shortcuts improve productivity by reducing the time you spend moving your hand between the keyboard and the mouse.
