18, IntelliJ idea commonly used shortcut keys of Windows edition

Source: Internet
Author: User

IntelliJ idea, the integrated environment for Java language development, is recognized as one of the best Java development tools in the industry, especially in smart Code assistants, code auto-hinting, refactoring, Java EE support, various version tools (Git, SVN, GitHub etc.), JUnit, CVS integration, code analysis, and innovative GUI design are all commendable features. As one of the most commonly used development tools today, idea, if we are familiar with its shortcut keys, naturally allows us to write code in the process of handy, aplomb.
  

IntelliJ idea Common shortcut keys
shortcut Keys function
Ctrl + X Cut lines
Ctrl + D Copy rows
Ctrl + N Find class
Ctrl + F Find text
Ctrl + J Automatic code
Ctrl + H Show class structure diagram
Ctrl + Q Show Comment Document
Ctrl + P Method parameter Hints
Ctrl + E Recently opened files
Ctrl + R Replace the code in the current text
Ctrl + End Skip to end of file
Ctrl + Home Jump to the beginning of a file
Ctrl + Space Code hints
Ctrl + Shift + N Find Files
Ctrl + Shift + R Replace the code in the project
Ctrl + Alt + L Formatting code
Ctrl + Alt + O Optimizing imported classes and Packages
Ctrl + Shift + Space Auto-Complete code
Alt + Shift + C Compare the recently modified code
Alt + Insert Generate code (such as constructors, etc.)
Ctrl + Alt + Space Class name or interface name hint
Alt + Enter Automatic Guide Package
Alt + left/right Toggle Code View
Ctrl + B Quickly open a class or method at the cursor
Alt + Up/down Quickly move the positioning between methods
F2 or Shift + F2 Highlight error or warning quick location
Ctrl + Shift + up/down Code Move Up/down
Ctrl+e or Alt+shift+c Recently changed code
Ctrl + Shift + Alt + N Find a method or variable in a class
Ctrl + Alt + left/right Go back to the last browse location
CTRL +/or CTRL + Shift +/ Single-line comment or multiline comment
Fori + Tab Key Quickly create a For loop
PSVM + Tab Key Quickly create a main function
Sout + Tab Key Quickly create output statements

Debug shortcut key:

      • F7: In Debug mode, go to the next step, if the current line breakpoint is a method, then enter the current method body, if the method body has a method, it will not enter the embedded method;
      • F8: In Debug mode, go to the next step, if the current line breakpoint is a method, does not enter the current method body;
      • F9: In Debug mode, the recovery program runs, but if the code below the breakpoint has a breakpoint then it stops at the next breakpoint.

Reprinted from: 53648746

18, IntelliJ idea commonly used shortcut keys of Windows edition

Related Article

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.