General

CommandWindows / LinuxMac
Settings menuCtrl + ,⌘ + ,

Debugging

CommandWindows / LinuxMac
Resume programF6F6
Step overF8F8
Step into / outF7 / F9F7 / F9
Step through to end of statementF10F10
Evaluate expressionAlt + F8⌥ + F8

Search / Replace

CommandWindows / LinuxMac
FindCtrl + F⌘ + F
Find and replaceCtrl + R⌘ + R
Find nextF3F3
Find previousShift + F3⇧ + F3
Find content in projectCtrl + Shift + F⌤ + ⇧ + F
Find file in projectCtrl + Shift + N⌤ + ⇧ + N
Find and replace in projectCtrl + Shift + R⌤ + ⇧ + R
Recent filesCtrl + Alt + E , Ctrl + E⌤ + E
Recent edited filesCtrl + Shift + E⌤ + ⇧ + E

Selection

CommandWindows / LinuxMac
Select allCtrl + A⌘ + A
Select leftShift + Left⇧ + ←
Select rightShift + Right⇧ + →
Select word leftCtrl + Shift + Left⌥ + ⇧ + ←
Select word rightCtrl + Shift + Right⌥ + ⇧ + →
Select line startShift + Home⇧ + Home
Select line endShift + End⇧ + End
Select to line endAlt + Shift + Right⌘+ ⇧ + →
Select to line startAlt + Shift + Left⌘+ ⇧ + ←
Select upShift + Up⇧ + ↑
Select downShift + Down⇧ + ↓
Select page upShift + PageUp⇧ + PageUp
Select page downShift + PageDown⇧ + PageDown
Select to startCtrl + Shift + Home⌘ + ⇧ + ↑ , ⌘ + ⇧ + Home
Select to endCtrl + Shift + End⌘ + ⇧ + ↓ , ⌘ + ⇧ + End
Select to matching bracketCtrl + Shift + P

Basic Editing

CommandWindows / LinuxMac
UndoCtrl + Z⌘ + Z
RedoCtrl + Shift + Z , Ctrl + Y⌘ + ⇧ + Z , ⌘ + Y
Transpose lettersCtrl + T⌤ + T
Change to lower caseCtrl + Shift + UCtrl + Shift + U
Change to upper caseCtrl + UCtrl + U
Comment / uncomment with line commentCtrl + /⌘ + /
Comment / uncomment with block commentCtrl + Shift + /⌘ + ⇧ + /
Indent / un-indent selected linesTab / Shift + Tab⇥ / ⇧ + ⇥
Reformat codeCtrl + Alt + L⌤ + ⌥ + L
Cut selected lines to clipboardCtrl + X⌘ + X
Duplicate selection / lineCtrl + D⌘ + D
Copy selected lines to clipboardCtrl + C⌘ + C
Paste from clipboardCtrl + V⌘ + V
Copy lines downAlt + Shift + Down⌘+ ⌥ + ↓
Copy lines upAlt + Shift + Up⌘ + ⌥ + ↑
Move lines downAlt + Down⌥ + ↓
Move lines upAlt + Up⌥ + ↑
Remove to line endAlt + Delete⌤ + K
Remove to line startAlt + Backspace⌘ + ⌫
Remove word leftCtrl + Backspace⌥ + ⌫
Remove word rightCtrl + Delete⌥ + ⌦
Split lineCtrl + O
Fold selectionAlt + L , Ctrl + F1⌘+ F1
UnfoldAlt + Shift + L , Ctrl + Shift + F1⌘+ ⇧ + F1
Fold allAlt + 0⌘ + ⌥ + 0
Unfold allAlt + Shift + 0⌘ + ⌥ + ⇧ + 0

XML Editing

Auto suggestions with preview: Place the cursor on the xml element name, element attribute name or value and press ctrl + space + space will show a list of suggestions along with a preview popup. The preview popup shows either the documentation or declaration (if no documentation found) for the selected suggestion. Note the location of the cursor is important as the search string only includes characters to up the cursor.
CommandWindows / LinuxMac
Auto suggestionCtrl + Space⌤ + Space
Auto suggestion with a preview popupCtrl + Space + Space⌤ + Space + Space
Snippet search and insertCtrl + Alt + J⌘ + ⌥ + J
Include Form Fragment WizardCtrl + Alt + J⌘ +  ⌥ + I

Basic Navigation

CommandWindows / LinuxMac
Last locationCtrl + Alt + Left⌘ + ⌥ + ←
Next locationCtrl + Alt + Right⌘ + ⌥ + →
Last change location in active editorCtrl + Alt + Up⌘ + ⌥ + ↑
Next change location in active editorCtrl + Alt + Down⌘ + ⌥ + ↓
Go to lineCtrl + L⌘ + L

File and Editor Management

CommandWindows / LinuxMac
Close file (place cursor on editor tab)Shift + Click⇧ + Click
Reload fileCtrl + Alt + O⌘ + ⌥ + O
Save fileCtrl + Alt + S , Ctrl + S⌘ + ⌥ + S , ⌘ + S
Validate fileShift + Alt + V⇧ + ⌥ + V
Last opened tabCtrl + Alt + PageUp , Ctrl + Tab⌤ + Tab

XML Navigation

Usage navigation with preview: Place the cursor on the xml element name, element attribute name or value and press ctrl + space + space will show a list of suggestions along with a preview popup. The preview popup shows either the documentation or declaration (if no documentation found) for the selected suggestion. Note the location of the cursor is important as the search string only includes characters to up the cursor.
CommandWindows / LinuxMac
Declaration navigationCtrl + Click⌘ + Click
Declaration navigation with a preview popupCtrl + Click + Click⌘ + Click + Click
Usage navigationAlt + Click⌥ + Click
Usage navigation with a preview popupAlt + Click + Click⌥ + Click + Click

Usage Search

Place cursor on the xml element name, element attribute name or value. It displays usages in Usages panel with a usage preview for the selected usage.

CommandWindows / LinuxMac
Find usagesCtrl + Alt + U⌘ + ⌥ + U

Git

CommandWindows / LinuxMac
Show diffShift + Alt + D⇧ + ⌥ + D
Compare with revisionShift + Alt + C⇧ + ⌥ + C
Show / hide annotationsShift + Alt + A⇧ + ⌥ + A
0
0

Jump to Section