IntelliJ Idea common shortcut keys (Lite version), intellijidea

Source: Internet
Author: User

IntelliJ Idea common shortcut keys (Lite version), intellijidea

Search shortcut:

Ctrl + N lookup class

Ctrl + shift + N search for files

Ctrl + B find the variable source

Ctrl + E recently opened files

Ctrl + Alt + B Implementation of the Selection Method

Ctrl + F7 all called places of the selected method (attributes, variables)

Ctrl + Shift + F full-project search (very useful in combination with Ctrl + F7 above)

Ctrl + Shift + N full-text search replacement

Ctrl + Q view the doc document of a Method

Alt + 6 search "// TODO"

Alt + 7 look for the Class Structure

Ctrl + F12 find a certain method (similar to Ctrl + O in eclipse)

Automatic Code

Alt + Enter import package, automatically corrected

Ctrl + Alt + O optimized imported classes and packages

Ctrl + Alt + L format the code (may conflict with the system shortcut key)

Ctrl + Alt + I auto indent (I am used to this)

Alt + Insert to generate code (such as GET, SET, constructor, etc)

Ctrl_Alt + T put the selected code in TRY {}, IF {}, ELSE {}, etc.

Ctrl + Alt + Shift + T pop-up refactoring box

Copy shortcuts

Ctrl + X cut and delete rows (if not selected, directly cut the row where the cursor is located)

Ctrl + D copy rows

Debug shortcut

Step F8

F9 jumps to the next breakpoint

Other shortcuts

Shift + Enter: Insert a row down

Ctrl + Shift + C copy the current window file path

 

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.