IntelliJ Idea Default Keymap

Source: Internet
Author: User

Edit
Ctrl + Space Basic code completion (the name of any class,method or variable)
Ctrl + Shift + Space Smart Code completion (filters the list of methods
and variables by expected type)
Ctrl + Shift + Enter Complete statement
Ctrl + P Parameter info (within method call arguments)
Ctrl + Q Quick documentation Lookup
Shift + F1 External Doc
Ctrl + mouse over code Brief Info
Ctrl + F1 Show descriptions of error or warning at caret
ALT + Insert Generate code ... (Getters, Setters, constructors,
Hashcode/equals, toString)
Ctrl + O Override methods
Ctrl + I Implement methods
Ctrl + Alt + T Surround with ... (If.. else, try: Catch, for,
synchronized, etc.)
Ctrl +/comment/uncomment with line Comment
Ctrl + Shift +/comment/uncomment with block Comment
Ctrl + W Select successively increasing code blocks
Ctrl + Shift + W Decrease current selection to previous state
ALT + Q Context Info
Alt + Enter Show intention actions and quick-fixes
Ctrl + Alt + L reformat code
Ctrl + Alt + O Optimize Imports
Ctrl + Alt + I auto-indent Line (s)
Tab/shift + Tab Indent/unindent selected lines
Ctrl + X or Shift + Delete Cut Current line or selected block to clipboard
CTRL + C or CTRL + Insert Copy Current line or selected block to clipboard
Ctrl + V or Shift + Insert Paste from clipboard
Ctrl + Shift + V Paste from recent buffers ...
Ctrl + D Duplicate Current line or selected block
Ctrl + Y Delete line at caret
Ctrl + Shift + J Smart line join
Ctrl + Enter Smart line split
Shift + Enter Start New Line
Ctrl + Shift + U Toggle case for word at caret or selected block
Ctrl + Shift +]/[Select till code block End/start
Ctrl + DELETE Delete to Word end
Ctrl + Backspace Delete to Word start
Ctrl + numpad+/-expand/collapse code block
Ctrl + Shift + numpad+ Expand All
Ctrl + Shift + numpad-collapse All
Ctrl + F4 Close active Editor tab

Find/Replace
Double Shift Search Everywhere
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
Ctrl + Shift + S Search structurally (Ultimate Edition only)
Ctrl + Shift + M Replace structurally (Ultimate Edition only)

Usage Lookup
Alt + F7/ctrl + F7 Find usages/find usages in file
Ctrl + Shift + F7 Highlight usages in file
Ctrl + Alt + F7 Show usages
Compile run
Ctrl + F9 Make project (compile modifed and dependent)
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
Debug
F8 Step Over
F7 Step into
Shift + F7 Smart Step Into
Shift + F8 Step out
Alt + F9 Run to Cursor
Alt + F8 Evaluate expression
F9 Resume Program
Ctrl + F8 Toggle Breakpoint
Ctrl + Shift + F8 View breakpoints
Navigation
Ctrl + N Go to class
Ctrl + Shift + N Go to File
Ctrl + Alt + Shift + N Go to symbol
Alt + right/left Go to next/previous Editor tab
F12 Go back to previous tool window
ESC Go to Editor (from tool window)
Shift + ESC Hide active or last active window
Ctrl + Shift + F4 Close active run/messages/find/... tab
Ctrl + G Go to Line
Ctrl + E Recent files Popup
Ctrl + Alt + left/right Navigate back/forward
Ctrl + Shift + Backspace Navigate to last edit location
Alt + F1 Select current file or symbol in any view
CTRL + B or CTRL + Click Go to Declaration
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/down Go to Previous/next method
Ctrl +]/[Move to code block End/start
Ctrl + F12 File Structure Popup
Ctrl + H Type hierarchy
Ctrl + Shift + H Method hierarchy
Ctrl + Alt + H Call Hierarchy
F2/shift + F2 Next/previous highlighted error
F4/ctrl + Enter Edit source/view source
Alt + Home Show navigation bar
F11 Toggle Bookmark
Ctrl + F11 Toggle bookmark with mnemonic
Ctrl + #[0-9] Go to numbered bookmark
Shift + F11 Show bookmarks

Refactoring
F5 Copy
F6 Move
ALT + DELETE Safe Delete
Shift + F6 Rename
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
Vcs/local history
Ctrl + K Commit project to VCS
Ctrl + T Update project from VCS
Alt + Shift + C View Recent Changes
Alt + backquote (') ' VCS ' Quick Popup
Dynamic Templates
Ctrl + Alt + J Surround with Live Template
Ctrl + J Insert Live Template
ITER iteration According to Java SDK 1.5 style
Inst Check object type with instanceof and downcast it
Itco iterate elements of java.util.Collection
Itit iterate elements of Java.util.Iterator
Itli iterate elements of Java.util.List
PSF public static final
THR throw new
General
Alt + #[0-9] Open corresponding tool window
Ctrl + S Save All
Ctrl + Alt + Y Synchronize
Ctrl + Shift + F12 Toggle maximizing editor
Alt + Shift + F Add to Favorites
Alt + Shift + I Inspect current file with current profile
Ctrl + backquote (') Quick switch current scheme
Ctrl + Alt + S Open Settings Dialog
Ctrl + Alt + Shift + S Open Project Structure Dialog
Ctrl + Shift + A Find Action
Ctrl + Tab Switch between tabs and tool window

IntelliJ Idea Default Keymap

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.