Intellij shortcut keys

Source: Internet
Author: User

    1. Ctrl+f12 similar to eclipse outline shows all the methods of the current class.
    2. Ctrl+h View the integration structure of the current class or method
    3. Ctrl+e to view recently used files
    4. CTRL+J Automatic Completion Tips
    5. Ctrl+shift+v Select paste the contents of the recent Pasteboard can be selected
    6. Alt+j in use, if there is an exception click Alt+enter can choose the type of generation
    7. Ctrl+alt+t generates a code block as shown in
    8. ALT + ENTER import package, auto fix
    9. CTRL + N Find class
    10. Ctrl+shift+n Finding files
    11. Ctrl+alt+l Formatting Code
    12. Ctrl+alt+o Optimizing imported classes and Packages
    13. Alt+insert generate code (such as Get,set method, constructor, etc.)
    14. Ctrl+x Delete When moving forward
    15. Ctrl+alt+v generate variables.
    16. ALT+SHIFT+F10 running the current program

Ctrl+e or Alt+shift+c recently changed code

Ctrl+r replacing text

Ctrl+f finding text

Ctrl+shift+space Auto-Complete code

CTRL + Space Code hints

Ctrl+alt+space class name or interface name hint

Ctrl+p Method Parameter Hints

Ctrl+shift+alt+n find a method or variable in a class

Alt+shift+c vs. recently modified code

Shift+f6 Refactoring-Renaming

ctrl+shift+ First up key

Ctrl+x Deleting rows

Ctrl+d Copying rows

ctrl+/or ctrl+shift+/Comments (//or/*...*/)

CTRL+J Automatic Code

Ctrl+e recently opened files

CTRL+H Display class structure diagram

Ctrl+q displaying comment documents

Alt+f1 find where the code is located

Alt+1 quickly open or hide the engineering panel

ctrl+alt+ Left/right back to the last viewed location

ALT + Left/right Toggle Code View

ALT + Up/down Fast move location between methods

The Ctrl+shift+up/down code moves up/down.

F2 or SHIFT+F2 highlighting error or warning quick location

When the code tag is entered, press TAB to generate the code.

Select the text, press CTRL+SHIFT+F7, highlight all the text, and press ESC to highlight the disappear.

Ctrl+w selected code, continuous press will have other effects

Select the text, press ALT+F3, look down the same text, and highlight it.

Ctrl+up/down cursor jumps to the first or last line

Ctrl+b quickly open the class or method at the cursor

Intellij shortcut keys

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.