Join GitHub today. PhpStorm For Mac Default Keymap Reference. Use Git or checkout with SVN using the web URL. Launching GitHub Desktop. If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop. If nothing happens, download GitHub Desktop and try again. Launching Xcode. If nothing happens, download Xcode and try again. WebStorm / PhpStorm Cheat Sheet. Move the selected class, method, package or static member to another package or class and correct all references. If you want to take your skills on the Mac to the next level as well, a tiny utility will now help you find you all the shortcuts you need to be a pro. Readers, meet CheatSheet. The Challenge We Are Facing. The most difficult challenge – next to memorizing shortcuts – is finding them in the first place.
Shortcut | Description |
---|---|
Ctrl + N | lookup a class |
Ctrl + Shift + N | lookup a file |
Ctrl + Shift + Alt + N | lookup a symbol |
Ctrl + B | goto declaration/definition |
Shift + F2 | goto declaration/definition |
Ctrl + F12 | list all members of a class |
Alt + Shift + F7 | find all usages |
Alt + Enter | show suggestions |
Alt + F1 | context menu |
Shift + F6 | rename refactor |
F6 | move class to new file refactor |
Ctrl + Shift + Alt + T | 'refactor this' tool |
Ctrl + Shift + F | global find |
Ctrl + Q | show quick documentation |
Ctrl + Shift + T | create or find unit test |
Ctrl + Shift + F10 | dynamic run configuration |
Ctrl + W | select whole word |
Ctrl + Shift + A | get list of actions |
Shift + F2 | goto function definition |
Ctrl + Tab (Ctrl + [0-9A-Z]) | show available tools to jump to (then pick one) |
Ctrl + F5 | run normal |
Alt + F5 | run debug |
Alt + Insert | in file window: insert file OR in editor window: insert predefined items (i.e. docs, test method, getters and setters) |
Ctrl + Alt + V | set expression to interim variable, and then use interim variable the next line (really hard to explain, but it's really useful) |
Alt + J | spawn new cursor at next instance of word under cursor, really useful for refactoring non-variable strings (i.e. array keys) |
F10 | step over line (debug tool) |
F11 | step into function (debug tool) |
There is also an action to 'clear all tabs' and to 'clear all unedited tabs' that I use a lot, but it's not defined by default. I find assigning them to a hotkey definitely saves time in clearing your workspace (I used Ctrl + Shift + Backspace and Ctrl + Alt + Backspace, respectively).
You’ve made the switch to Mac OS X Lion from some version of Windows. Mac OS X is easy to learn, but Windows users may find a few of its keys and navigation elements a little mystifying at first. Use this Cheat Sheet to figure out Mac OS X keyboard symbols and shortcuts and to master Multi-Touch gestures to control your new Mac from its trackpad.
Deciphering Special Key Symbols in Mac OS X
Using keyboard shortcuts in Mac OSX means recognizing some important keys, such as Control, Shift, Escape, and more. The symbols for these Mac keys don’t look the same as they do on a Windows keyboard. Mac menus show keyboard shortcuts, when they’re available, using the following standard symbols for special keys:
Commanding Keyboard Shortcuts on a Mac
Most Windows keyboard shortcuts, which require you to press Ctrl and a letter, work on a Mac if you press the Command key (the one with the four-leaf clover symbol) on the Mac instead of Ctrl. Thus, Command+C is copy, Command+X is cut, Command+V is paste, Command+Z is undo, and so on. Some shortcuts that are unique to the Mac include the following:
How to Give Commands with Mac Function Keys
A Mac keyboard has function keys, just like a Windows keyboard, but the keys likely issue different commands in Mac OS X than in Windows. On a Mac, the commands assigned to function keys vary by the keyboard’s size and manufacturer. Check Keyboard and Mission Control in System Preferences for your settings. The table shows typical default commands for function keys in Mac OS X Lion.
(Note: These commands work only on Apple-labeled keyboards, except for the Turn on VoiceOver command, which works on any keyboard.)
Navigating Mac OS X with Multi-Touch Gestures
Multi-Touch gestures are moves that you make on a Mac’s trackpad to send Mac OS X commands, mostly for navigating the Mac OS X interface. When you switch to a Mac from Windows, adjusting to Multi-Touch takes a little practice, so this table is here to help you:
Gesture | Command It Performs |
---|---|
Two-finger swipe | Scroll (up, down, left, or right) |
Two fingers on keypad+click | Right click (same as Control+click) |
Three-finger swipe | Switch spaces or open applications |
Three-finger double tap | Look up a word in the dictionary or on Wikipedia |
Four-finger swipe up | Show Mission Control |
Four-finger swipe down | Show all windows for the current application |
Four-finger pinch | Show Launchpad |
Four-finger spread | Show Desktop |
Top Mac OS X Hints for Windows Users
Windows users who have made the switch to Mac OS X have some new mouse clicks, keyboard techniques, and touchpad (trackpad) gestures to learn. Have a look at some top tips for working on a Mac:
To right-click when using a single-button mouse, hold down Control and then click.
To right-click on a laptop or track pad, click with two fingers resting on the trackpad. Control-click also works.
The top row on Mac keyboards is used for special controls, such as audio volume and brightness. To use them as function keys, hold down the Fn key. You can reverse this behavior by choosing System Preferences@@→Keyboard. The Keyboard preferences pane also has a complete list of keyboard shortcuts.
Closing an application’s last window usually doesn’t close the application itself.
Apple applications and many third-party Mac applications save your edits automatically while you work and keep track of different versions.
To rename a file in a Finder window, click the filename once and then press Return. The filename becomes editable.
Starting Your Mac with Boot Option Keys
When your Mac powers up, it normally uses the system on its internal hard drive unless you change this behavior by choosing System Preferences@@→Startup Disk. You can also change what your Mac does by holding down the following keys or key combinations during startup.
Phpstorm Cheatsheet Mac 10
Print these boot option keys, because they’re particularly helpful to have when your Mac is having trouble.