Intellijidea common shortcut keys and comparison with Eclipse shortcut keys

Source: Internet
Author: User

  1. ? CTRL + D copies the current line to the next line equivalent to Ctrl + SHIFT + in eclipse

  2. CTRL +/single-line comments and anti-annotations

  3. CTRL +shift +/block annotations and anti-annotations

  4. CTRL + N then enter the class name to open the class file equivalent to Ctrl + SHIFT + T in eclipse

  5. CTRL + SHIFT + N Enter name to open all types of files equivalent to Ctrl +shift + R in eclipse

  6. CTRL + SHIFT + SPACE smart hint equals CTRL +/ in eclipse

  7. CTRL + ALT + L formatting code is equivalent to Ctrl + SHIFT + F in eclipse

  8. CTRL + G jumps to the number of lines that are set to the equivalent of Ctrl + L in eclipse

  9. CTRL + Y Deletes a line equivalent to Ctrl + D in eclipse

  10. SHIFT + F10 Run

  11. SHIFT + F9 Debugging

  12. CTRL + ALT + O optimized import equivalent to CTRL + SHIFT + I in Eclipse

  13. PSVM + TAB Quick Generate Main method ()

  14. Sout + TAB To quickly generate output statements

  15. CTRL + F12 View the current file structure is equivalent to CTRL + O in Eclipse (this can also be achieved with ALT +7)

  16. The F4 tracking variable is defined as the F3 in eclipse

  17. The case is not sensitive when setting the prompt: Editor-->general-->code completion cases Sensitive completion select None

  18. Show line number: Editor-->general-->apperance Check show lines numbers

  19. CTRL + ALT + B to view the implementation class or subclass of the interface

  20. SHIFT + F6 Modify the file name to correspond to F2 in Eclipse

  21. Bulk Modify variable Name: Select the variable SHIFT + F6 equivalent to the ALT +shift in Eclipse +r

Intellijidea Common shortcut keys and comparison with Eclipse shortcuts

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.