This is very useful when dealing with large files and having to reference another part only to come back to the original to continue the work: Pressing CTRL+SHIFT+Backspace, or the “Forward” and “Back” buttons on your mouse if you have them, will walk you through your previous edit locations. If you’re on Linux, your CTRL+ALT+L shortcut might already be bound to “Lock Screen”, and you’ll need to unbind it from the system, or change it in PhpStorm’s settings. Note, however, that if you’re working on a project with someone else, this might cause refactors in various files far too often, and pollute your version control system with changes that aren’t changes at all.
PHPSTORM MANUAL
If you use this excessively and don’t often work on other people’s projects, you take it up another notch – bind a macro to the CTRL+S shortcut, and make PhpStorm automatically reformat your code on every manual save.
What’s more, as you can see by the popup that appears in the animation above, you can choose to reformat your entire project. Let’s see some shortcuts and hacks we can take advantage of:ĬTRL + ALT + L, one of my most used keyboard combos, will immediately format your code according to the preferred style guidelines: PhpStorm’s high configurability (it’s almost an “Android” of the PHP IDE world) lets you fine tune it to infinity – you can make it into a tool so personal, it might seem like a different IDE to anyone opening your settings.