IntelliJ IDEA is a popular integrated development environment (IDE) that is used by many programmers and developers to build applications in various languages, including Java, Kotlin, and Scala. IntelliJ IDEA is packed with features and shortcuts that can help you work more efficiently and save time. In this blog post, we will share 10 essential IntelliJ IDEA shortcuts that will help you boost your productivity and streamline your workflow. Whether you're new to IntelliJ IDEA or an experienced user, you'll find something new and valuable in this post. So, let's dive in and take a look at 10 essential IntelliJ IDEA shortcuts!
IntelliJ IDEA is a powerful Java IDE (Integrated Development Environment) created by JetBrains.
It provides developers with many features, including code completion,
refactoring, debugging, etc. There are two versions of IntelliJ IDEA.
1. IntelliJ Idea Community Edition
The
IntelliJ community edition is free and open-source software developed
by JetBrains, the same company behind the popular IntelliJ IDE.
IntelliJ's first version to use the brand-new Java 11 language features
such as lambda expressions, method references, default methods and local
interfaces.
2. IntelliJ Ultimate
IntelliJ
Ultimate is a commercial version of IntelliJ. It includes many useful
plugins and tools, including refactoring capabilities, code completion,
quick fixes, and error detection.
IntelliJ IDEA shortcuts
Ctrl + F - Find
F3 - Find next
Shift + F3 - Find previous
Ctrl + R - Replace
Ctrl + Shift + F - Find in path
Ctrl + Shift + R - Replace in path
Alt + Insert - Generate code
Alt + J - Select next occurence
Ctrl + P - Parameter info
Ctrl + Alt + Shift + Select all occurences
Ctrl + W - Extend selection
Ctrl + Shift + W - Shrink selection
Ctrl + E - Recent files popup
Shift + F6 - Rename - Useful shortcuts
Ctrl + Shift + - Smart code completion
Shift then Shift - Search everywhere
Alt + Enter - Show intention actions and quick
Alt + Shift + J - Unselect occurence - Editing
Ctrl + Space - Basic code completion
Ctrl + Shift + - Smart code completion
Alt + [Num 0 - 9] - Open corresponding tool window
Ctrl + S - Save all
Ctrl + Alt + Y - Synchronize
Ctrl + Shift + F12 - Toggle maximizing editor
Ctrl + Q - Quick documentation lookup
Alt + Shift + I - Inspect current file with current
Shift + F1 - External doc
Ctrl + Move the - Brief info - profile
Ctrl + Shift + Enter Complete statement
Ctrl + P - Parameter info (within method call
arguments)
Ctrl + Alt + S - Open Settings dialog
Ctrl + F1 - Show descriptions of error at caret
Alt + Insert - Generate code
Ctrl + O - Override methods
Ctrl + I - Implement methods
Ctrl + / - Comment / uncomment with line - Ctrl + Alt + Shift + Open project structure dialog
Ctrl + Shift + / - Comment / uncomment with block
comment - fixes
Ctrl + Alt + L - Reformat code - Ctrl + Alt + O - Optimize imports -
Ctrl + Alt + I - Auto-indent line(s) - Tab - Indent selected lines - Shift + Tab - Unindent selected lines - Page 2 of 3 -
Ctrl + X or Shift + - Cut current line to clipboard - Navigation - Copy current line to clipboard -
Ctrl + N - Go to class -
Ctrl + Shift + N - Go to file - Del
Ctrl + V or Shift + - Paste from clipboard - Insert -
Ctrl + Alt + Shift + Go to symbol
Ctrl + Shift + V - Paste from recent buffers -
Alt + Left arrow / -
Ctrl + D - Duplicate current line - Right arrow -
Ctrl + Y - Delete line at caret -
F12 - Go back to previous tool window -
Ctrl + Shift + J - Smart line join - Esc - Go to editor (from tool window) -
Ctrl + Enter - Smart line split - Shift + Esc - Hide active or last active window - Shift + Enter - Start new line -
Ctrl + G - Go to line -
Ctrl + Shift + U - Toggle case for word at caret or -
Ctrl + E - Recent files popup - selected block -
Ctrl + Alt + Left - Navigate back/ forward - Select till code block end / start - arrow / Right -
Ctrl + Shift + [ or - arrow - Ctrl + Shift + ]
Ctrl + Del - Delete to word end -
Ctrl + Backspace - Delete to word start
Ctrl + Num + - Expand code block
Ctrl + Num - - Collapse code block -
Ctrl + Shift + Num Expand all
Ctrl + Shift + Num Collapse all
Ctrl + F4 -
Go to previous / next editor tab - Close active editor tab -
Refactoring - Ctrl + Shift + - Navigate to last edit location -
Backspace
Alt + F1 - Select current file or symbol in any
view - Ctrl + B or Ctrl + - Go to declaration - Left click
Ctrl + Alt + B - Go to implementation(s) -
Ctrl + Shift + I - Open quick definition lookup -
Ctrl + Shift + B - Go to type declaration -
Ctrl + U - Go to super-method/ super-class - Alt + Up arrow / - Go to previous /next method - Down arrow
F5 - Copy - F6 - Move -
Alt + Del - Safe delete - Shift + F6 - Rename -
Ctrl + Alt + Shift + Refactor this
T
Ctrl + F6 - Change signature
Ctrl + Alt + N - Inline
Ctrl + Alt + M - Extract method
Ctrl + Alt + V - Extract variable
Ctrl + Alt + F - Extract field
Ctrl + Alt + C - Extract constant
Ctrl + Alt + P - Extract parameter
Ctrl + ] - Move to code block end
Ctrl + [ - Move to code block start
Ctrl + F12 - File structure popup
Ctrl + H - Type hierarchy
Ctrl + Shift + H - Method hierarchy
Ctrl + Alt + H - Call hierarchy
F2 - Next highlighted error
Shift + F2 - Previous highlighted error
F4 - Edit source
Ctrl + Enter - View source
Alt + Home - Show navigation bar
F11 - Toggle bookmark
Ctrl + F11 - Toggle bookmark with mnemonic
Ctrl + [Num 0 - 9] - Go to numbered bookmark
Shift + F11 - Show bookmarks - Compile and run
Ctrl + F9 - Make project
Ctrl + Shift + F9 - Compile selected file, package or module
Alt + Shift + F10 - Select configuration and run
Alt + Shift + F9 - Select configuration and debug
Shift + F10 - Run - Shift + F9 - Debug
Ctrl + Shift + F10 - Run context configuration from
editor - Usage search
Alt + F7 - Find usages
Ctrl + F7 - Find usages in file
Ctrl + Alt + F7 - Show usages - VCS / Local history
Ctrl + K - Commit project to VCS
Ctrl + T - Update project from VCS
Ctrl + Shift + K - Push commits - Alt + ` - "VCS" quick popup - Live Templates
Ctrl + Alt + J
- Surround with Live Template - Ctrl + J - Insert live template -
Source: Jetbrains help, IntelliJ IDEA reference card - Last
modification:
0 Comments