Skip to content

alexsanzdev/intellij_semantic-hot-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Semantic Hot Keys – for IntelliJ

A semantic keymap for IntelliJ

Compatibility

  • IntelliJ IDEA 2017.1.5
  • OS: macOS / Mac OS X
  • Keyboard: Swedish - Pro

Key Mappings

Editor

Code Completing & Generating
Key Action
⌃ SPACE Basic code completion
⌃ ⇧ SPACE SmartType code completion
⌃ ENTER Complete current statement
⌥ ENTER Show intention actions
⌃ G Generate...
⌃ O Override methods...
⌃ I Implement methods...
Copying & Pasting
Key Action
⌘ C Copy selected (or whole line if nothing is selected)
⌘ ⇧ V Paste from history...
Duplicating
Key Action
⌃ D Duplicate entire lines
⌃ ⇧ D Duplicate line or selection
Deleting
Key Action
⌃ DELETE Delete line
⌥ BACKSPACE Delete to line start
⌥ DELETE Delete to line end
⌃ U Unwrap/Remove...
Inserting
Key Action
⌃ ENTER Start new line (after current)
⌃ ⇧ ENTER Start new line before current
⌃ T Insert live template...
⌃ ⇧ T Surround with...
Moving
Key Action
⌃ ↑ Move statement up
⌃ ↓ Move statement down
⌃ ⇧ ↓ Move line up
⌃ ⇧ ↓ Move line down
⌃ → Move element right
⌃ ← Move element left
⌃ J Join lines
Other editing
Key Action
⌃ M Popup String manipulation... (plugin)
Moving & Cloning Caret
Key Action
⌃ B Move caret to matching brace
⌥ → Move caret to previous word
⌥ ← Move caret to next word
⌥ ↑ Clone caret above
⌥ ↓ Clone caret below
Selecting
Key Action
⌃ S Extend selection (selecting)
⌃ ⇧ S Shrink selection (unselecting)
⌥ S Add selection for next occurrence (with multi caret)
⌃ ⌥ S Select all occurrences (with multi caret)
Collapsing & Expanding
Key Action
⌘ - Collapse
⌘ + Expand
⌘ = Expand all
⌘ . Fold custom selection / Remove
Commenting
Key Action
⌃ 7 Comment/Uncomment with line comment
⌃ ⇧ 7 Comment selection with block comment
Formatting
Key Action
⌃ F Reformat code (selected text or whole file)

Refactoring

Key Action
⌃ N Rename...
⌃ R Refactor this...
⌃ E, SPACE Extract menu
⌃ E, V Extract variable
⌃ E, F Extract Field
⌃ E, C Extract Constanct
⌃ E, P Extract Paramater
⌃ E, M Extract Method

Documentation & Help

Key Action
⌘ P Show parameters
⌘ J Show documentation

Tab Management

Key Action
⌘ W Close current tab
⌥ ⌘ W Quick list: Close
⌃ TAB Select next tab
⌃ ⇧ TAB Select previous tab
⌃ NUM-3 Move tab right
⌃ NUM-, Move tab down
⌃ NUM-2 Change splitter orientation
⌥ ⌘ → Go to next splitter
⌥ ⌘ ← Go to previous splitter
⌃ NUM-1 Move to opposite group
⌃ NUM-0 Unsplit

File

Key Action
⌘ N New... (class, file, etc)
⌘ D Copy... (duplicate)
DELETE Delete
⌘ T Create test (or go to test)

Navigation / Open

Key Action
⌘ O, SPACE Quick list: Navigate/Open
⌘ O, C Navigate to class
⌘ O, F Navigate to file
⌘ O, M Navigate to symbol
⌘ O, L Go to line
⌘ O, S Go to in file structure (e.g. methods)
⌘ O, R Recent viewed files
⌘ O, E Recently edited files
⌘ O, V Local changes (VCS)
⌘ I Go to implementation (of method)
⌘ U Go to super method
⌘ T Go to test (or create test)

Find

Key Action
⌘ F, SPACE Quick list: Find
⌘ F, F Find in file
⌘ F, P Find in path
⌘ F, U Show usages
⌘ F, H Highlight occurrences
⌘ F, R Replace
⌘ F, A Find action...
⌘ G Find next
⌘ ⇧ G Find previous

Run

Key Action
F13 Rerun/Debug last configuration
F14 Run... (choose from a list of configurations)
F15 Debug... (choose from a list of configurations)
⇧ F14 Run current context / element
⇧ F15 Debug current context / element

About

Semantic keymap for IntelliJ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published