Quick viewing(Text Mode)

Windows & Linux Keymap

Windows & Linux Keymap

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 & 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 + , 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 + 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 Expand al Ctrl + Shift + NumPad+ Run / Debug Shift + F10 / F9 Smart step into / Step out Shift + F7 / Shift + F8 Collapse all Ctrl + Shift + NumPad- Run context configuration from editor Ctrl + Shift + F10 Run to cursor Alt + F9 Close active editor tab Ctrl + F4 Run anything Double Ctrl Evaluate expression Alt + F8 Resume program F9 USAGE SEARCH REFACTORING Toggle breakpoint Ctrl + F8 Find usages / Find usages in file Alt + F7 / Ctrl + F7 Copy View breakpoints Ctrl + Shift + F8 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 + 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 jetbrains.com/idea @intellijidea blog.jetbrains.com/idea ⌘ L 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 ⌘⇧F 12 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 Expand all ⌘⇧+ Run / Debug ⌃R / D Smart step into / Step out ⇧F7 / ⇧F8 Collapse all ⌘⇧- Run context configuration from editor ⌃⇧R, ⌃⇧D Run to cursor ⌥F9 Close active editor tab ⌘W Run anything Double ⌃ Evaluate expression ⌥F8 Resume program ⌘⌥R USAGE SEARCH REFACTORING Toggle breakpoint ⌘F8 Find usages / Find usages in file ⌥F7 / ⌘F7 Copy F5 View breakpoints ⌘⇧F8 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