You are on page 1of 3

EDITING NAVIGATION

Basic code completion Ctrl + Space Go to class Ctrl + N


Smart code completion Ctrl + Shift + Space Go to file Ctrl + Shift + N
Complete statement Ctrl + Shift + Enter Go to symbol Ctrl + Alt + Shift + N
Windows & Linux keymap Parameter info Ctrl + P Go to next / previous editor tab Alt + Right / Left
Quick documentation lookup Ctrl + Q Go back to previous tool window F12
External Doc Shift + F1 Go to editor (from tool window) Esc
Brief Info Ctrl + mouse Hide active or last active window Shift + Esc
Show descriptions of error at caret Ctrl + F1 Go to line Ctrl + G
jetbrains.com/idea @intellijidea blog.jetbrains.com/idea
Generate code... Alt + Insert Recent files popup Ctrl + E
Override methods Ctrl + O Recent locations popup Ctrl + Shift + E
Implement methods Ctrl + I Navigate back / forward Ctrl + Alt + Left / Right
Surround with… Ctrl + Alt + T Navigate to last edit location Ctrl + Shift + Backspace
Comment / uncomment with line comment Ctrl + / Select current file or symbol in any view Alt + F1
REMEMBER THESE SHORTCUTS Comment / uncomment with block comment Ctrl + Shift + / Go to declaration Ctrl + B, Ctrl + Click
Smart code completion Ctrl + Shift + Space Extend selection Ctrl + W Go to implementation(s) Ctrl + Alt + B
Search everywhere Double Shift Shrink selection Ctrl + Shift + W Open quick definition lookup Ctrl + Shift + I
Show intention actions and quick-fixes Alt + Enter Context info Alt + Q Go to type declaration Ctrl + Shift + B
Generate code Alt + Ins Show intention actions and quick-fixes Alt + Enter Go to super-method / super-class Ctrl + U
Parameter info Ctrl + P Reformat code Ctrl + Alt + L Go to previous / next method Alt + Up / Down
Extend selection Ctrl + W Optimize imports Ctrl + Alt + O Move to code block end / start Ctrl + ] / [
Shrink selection Ctrl + Shift + W Auto-indent line(s) Ctrl + Alt + I File structure popup Ctrl + F12
Recent files popup Ctrl + E Indent / unindent selected lines Tab / Shift + Tab Type hierarchy Ctrl + H
Rename Shift + F6 Cut current line to clipboard Ctrl + X, Shift + Delete Method hierarchy Ctrl + Shift + H
Copy current line to clipboard Ctrl + C , Ctrl + Insert Call hierarchy Ctrl + Alt + H
GENERAL
Paste from clipboard Ctrl + V, Shift + Insert Next / Previous highlighted error F2 / Shift + F2
Open corresponding tool window Alt + #[0-9] Paste from recent buffers... Ctrl + Shift + V Edit source / View source F4 / Ctrl + Enter
Save all Ctrl + S Duplicate current line Ctrl + D Show navigation bar Alt + Home
Synchronize Ctrl + Alt + Y Delete line at caret Ctrl + Y Toggle bookmark F11
Toggle maximizing editor Ctrl + Shift + F12 Smart line join Ctrl + Shift + J Toggle bookmark with mnemonic Ctrl + F11
Inspect current file with current profile Alt + Shift + I Smart line split Ctrl + Enter Go to numbered bookmark Ctrl + #[0-9]
Quick switch current scheme Ctrl + BackQuote (`) Start new line Shift + Enter Show bookmarks Shift + F11
Open Settings dialog Ctrl + Alt + S Toggle case for word at caret or selected block Ctrl + Shift + U
Open Project Structure dialog Ctrl + Alt + Shift + S Select till code block end / start Ctrl + Shift + ] / [ COMPILE AND RUN
Find Action Ctrl + Shift + A Delete to word end Ctrl + Delete Build project Ctrl + F9
Delete to word start Ctrl + Backspace Compile selected file, package or module Ctrl + Shift + F9
DEBUGGING
Expand / collapse code block Ctrl + NumPad+ / - Select configuration and run / debug Alt + Shift + F10 / F9
Step over / into F8 / F7 Run / Debug Shift + F10 / F9
Expand al Ctrl + Shift + NumPad+
Smart step into / Step out Shift + F7 / Shift + F8 Run context configuration from editor Ctrl + Shift + F10
Collapse all Ctrl + Shift + NumPad-
Run to cursor Alt + F9 Run anything Double Ctrl
Close active editor tab Ctrl + F4
Evaluate expression Alt + F8
Resume program F9 USAGE SEARCH
Toggle breakpoint Ctrl + F8 REFACTORING
Find usages / Find usages in file Alt + F7 / Ctrl + F7
View breakpoints Ctrl + Shift + F8 Copy F5 Highlight usages in file Ctrl + Shift + F7
Move F6 Show usages Ctrl + Alt + F7
SEARCH / REPLACE Safe Delete Alt + Delete
Search everywhere Double Shift Rename Shift + F6 VCS / LOCAL HISTORY
Find Ctrl + F Refactor this Ctrl + Alt + Shift + T Commit project to VCS Ctrl + K
Find next / previous F3 / Shift + F3 Change Signature Ctrl + F6 Update project from VCS Ctrl + T
Replace Ctrl + R Inline Ctrl + Alt + N Push commits Ctrl + Shift + K
Find in path Ctrl + Shift + F Extract Method Ctrl + Alt + M ‘VCS’ quick popup Alt + BackQuote (`)
Replace in path Ctrl + Shift + R Extract Variable Ctrl + Alt + V
Select next occurrence Alt + J Extract Field Ctrl + Alt + F LIVE TEMPLATES
Select all occurrences Ctrl + Alt + Shift + J Extract Constant Ctrl + Alt + C Surround with Live Template Ctrl + Alt + J
Unselect occurrence Alt + Shift + J Extract Parameter Ctrl + Alt + P Insert Live Template Ctrl + J
EDITING NAVIGATION
Basic code completion ⌃ Space Go to class ⌘O
Smart code completion ⌃⇧Space Go to file ⌘⇧O
Complete statement ⌘⇧↩︎ Go to symbol ⌘⌥O
Default macOS keymap Parameter info ⌘P Go to next / previous editor tab ⌃← / ⌃→
Quick documentation lookup ⌘J, F1 Go back to previous tool window F12
External Doc ⇧ F1 Go to editor (from tool window) ⎋
Brief Info ⌘ + mouse Hide active or last active window ⇧⎋
Show descriptions of error at caret ⌘ F1 Go to line ⌘L
jetbrains.com/idea @intellijidea blog.jetbrains.com/idea
Generate code... ⌘ N, ⌃↩︎ Recent files popup ⌘E
Override methods ⌃O Recent locations popup ⌘⇧E
Implement methods ⌃I Navigate back / forward ⌘⌥← / ⌘⌥→
Surround with… ⌘⌥T Navigate to last edit location ⌘⇧⌨
Comment / uncomment with line comment ⌘/ Select current file or symbol in any view ⌥ F1
REMEMBER THESE SHORTCUTS Comment / uncomment with block comment ⌘ ⌥/ Go to declaration ⌘B, ⌘Click
Smart code completion ⌃⇧Space Extend selection ⌥↑ Go to implementation(s) ⌘⌥B
Search everywhere Double⇧ Shrink selection ⌥↓ Open quick definition lookup ⌥Space, ⌘Y
Show intention actions and quick-fixes ⌥↩ Context info ⌃⇧Q Go to type declaration ⌃⇧B
Generate code ⌘N, ⌃↩︎ Show intention actions and quick-fixes ⌥↩ Go to super-method / super-class ⌘U
Parameter info ⌘P Reformat code ⌘⌥L Go to previous / next method ⌃↑ / ⌃↓
Extend selection ⌥↑ Optimize imports ⌃⌥O Move to code block end / start ⌘⌥[ / ⌘⌥]
Shrink selection ⌥↓ Auto-indent line(s) ⌃⌥I File structure popup ⌘ F12
Recent files popup ⌘E Indent / unindent selected lines ⇥ /⇧⇥ Type hierarchy ⌃H
Rename ⇧F6 Cut current line to clipboard ⌘X Method hierarchy ⌘⇧H
Copy current line to clipboard ⌘C Call hierarchy ⌃⌥H
GENERAL
Paste from clipboard ⌘V Next / Previous highlighted error F2 / ⇧F2
Open corresponding tool window ⌘0...⌘9 Paste from recent buffers... ⌘⇧V Edit source / View source F4 / ⌘ ↓
Save all ⌘S Duplicate current line ⌘D Show navigation bar ⌥ Home
Synchronize ⌘⌥Y Delete line at caret ⌘⌨ Toggle bookmark F3
Toggle maximizing editor ⌘⇧F12 Smart line join ⌃⇧J Toggle bookmark with mnemonic ⌥ F3
Inspect current file with current profile ⌥⇧I Smart line split ⌘↩ Go to numbered bookmark ⌃0 ...⌃9
Quick switch current scheme ⌃` Start new line ⇧↩ Show bookmarks ⌘ F3
Open Settings dialog ⌘, Toggle case for word at caret or selected block ⌘⇧U
Open Project Structure dialog ⌘; Select till code block end / start ⌘⌥⇧[ / ⌘⌥⇧] COMPILE AND RUN
Find Action ⌘⇧A Delete to word end ⌥⌦ Build project ⌘ F9
Delete to word start ⌥⌨ Compile selected file, package or module ⌘⇧F9
DEBUGGING
Expand / collapse code block ⌘+/⌘- Select configuration and run / debug ⌃⌥R / D
Step over / into F8 / F7 Run / Debug ⌃R / D
Expand all ⌘⇧+
Smart step into / Step out ⇧F7 / ⇧F8 Run context configuration from editor ⌃⇧R, ⌃⇧D
Collapse all ⌘⇧-
Run to cursor ⌥F9 Run anything Double ⌃
Close active editor tab ⌘W
Evaluate expression ⌥F8
Resume program ⌘⌥R USAGE SEARCH
Toggle breakpoint ⌘F8 REFACTORING
Find usages / Find usages in file ⌥F7 / ⌘F7
View breakpoints ⌘⇧F8 Copy F5
Highlight usages in file ⌘⇧F7
Move F6
Show usages ⌘⌥F7
SEARCH / REPLACE Safe Delete ⌘Delete
Search everywhere Double⇧ Rename ⇧F6 VCS / LOCAL HISTORY
Find ⌘F Refactor this ⌃T Commit project to VCS ⌘K
Find next / previous ⌘ G / ⌘⇧G Change Signature ⌘F6 Update project from VCS ⌘T
Replace ⌘R Inline ⌘⌥N Push commits ⌘⇧K
Find in path ⌘⇧F Extract Method ⌘⌥M ‘VCS’ quick popup ⌃V
Replace in path ⌘⇧R Extract Variable ⌘⌥V
Select next occurrence ⌃G Extract Field ⌘⌥F LIVE TEMPLATES
Select all occurrences ⌃ ⌘G Extract Constant ⌘⌥C Surround with Live Template ⌘⌥J
Unselect occurrence ⌃G Extract Parameter ⌘⌥P Insert Live Template ⌘J
Keyboard Shortcut Cheat Sheet

Action Windows OS X Action Windows OS X


SEARCH TEXT EDITING ACTIONS
Find usages Ctrl + Alt + F7 ⌘ + F7 Move lines Alt + Shift + Up/Down Alt + Shift + Up/Down
Find usages (results) Ctrl + Alt + Shift + F7 ⌘ + Alt + F7 Delete lines Ctrl + Y ⌘+Y
Find / Replace in file Ctrl + F ⌘+F/⌘+R Copy / Duplicate lines Ctrl + D ⌘+D
⌘ + Shift + F Select identifier Ctrl + W Alt + Up
Find / Replace in projects Ctrl + Shift + F
⌘ + Shift + R Format code Ctrl + Alt + L ⌘ + Alt + L
Find next F3 F3
Correct indentation Ctrl + Alt + I Ctrl + Alt + I
FILE NAVIGATION
Structured selection Ctrl + W Alt + Up
Open resource / Navigate to file Ctrl + Shift + N ⌘ + Shift + O CODE NAVIGATION
Open type Ctrl + N ⌘+O Find usages / References in workspace Alt + F7 Alt + F7
Go to symbol Ctrl + Alt + Shift + N ⌘ + Alt + G Find usages results Ctrl + Alt + Shift + F7 ⌘ + Alt + Shift + F7
Go to line Ctrl + G ⌘+L Quick outline / File structure Ctrl + F12 ⌘ + F12
Recent files Ctrl + E ⌘+E Inspect code hierachy Ctrl + Alt + H Ctrl + Alt + H
Tab / File switcher Ctrl + Tab ⌘ + Shift + [ / ] Open / Navigate to declaration Ctrl + Alt + B ⌘ + Alt + B
WINDOWS ACTIONS
Open / Navigate to type hierarchy Ctrl + H Ctrl + H
Maximize active window Ctrl + Shift + F12 ⌘ + Shift + F12 Open / Navigate to member hierarchy Ctrl + Shift + H ⌘ + Shift + H
Next view (editor) Alt + Left / Right Ctrl + Left / Right
REFACTORING
Quick switch editor Ctrl + E ⌘+E Refactor this Ctrl + Alt + Shift + T ⌘ + Alt + Shift + T
Back Ctrl + [ ⌘+[ Show quick refactoring menu ⌘ + Shift + T
Forward Ctrl + ] ⌘+] Rename Ctrl + Alt + R Shift + F6
Show UML popup Ctrl + Alt + U ⌘ + Alt + U Surround with Ctrl + Alt + T ⌘ + Alt + T
Activate editor Ctrl + Tab Ctrl + Tab
Extract local variable Ctrl + Alt + V ⌘ + Alt + V
CODE COMPLETION
Extract / Assign to field Ctrl + Alt + F ⌘ + Alt + F
Quick fix Alt + Enter Alt + Enter
Inline Ctrl + Alt + N ⌘ + Alt + N
Code completion Ctrl + Space Ctrl + Space
Extract method Ctrl + Alt + M ⌘ + Alt + M
Smart code completion Ctrl + Shift + Space Ctrl + Shift + Space
UNIVERSAL ACCESS
Live templates Ctrl + J ⌘ +J Quick access / search everywhere Ctrl + Shift + A ⌘ + Shift + A

www.jrebel.com

You might also like