The most common shortcut keys of intellij idea and the shortcut keys of intellijidea

Source: Internet
Author: User

The most common shortcut keys of intellij idea and the shortcut keys of intellijidea

Most common shortcut keys * Add a copy to favorites.
1. Ctrl + E to display the list of recently edited files
2. Shift + Click can close the file
3. Ctrl + [or] can jump to the beginning and end of braces
4. Press Ctrl + Shift + Backspace to jump to the Last edited location.
5. Press Ctrl + F12 to display the structure of the current file.
6. Ctrl + F7 can query the reference of the current element in the current file, and then press F3 to select
7. Ctrl + N to quickly open the class
8. Ctrl + Shift + N to quickly open the file
9. Alt + Q: You can see the declaration of the current method.
10. Ctrl + W can select the word and then the statement and then the row and then the Function
11. Alt + F1 can locate the elements being edited in each panel
12. Press Ctrl + P to display the parameter information.
13. Press Ctrl + Shift + Insert to select and Insert the clipboard content
14. Alt + Insert can generate Constructors/Getter/Setter, etc.
15. Ctrl + Alt + V can introduce variables. For example, assign the SQL statement in parentheses to a variable.
16. Ctrl + Alt + T can wrap the code in one piece, such as try/catch
17. Alt + Up and Alt + Down can be quickly moved between methods
Below is not very useful
18. In some cases, press Alt + Enter to get some Intention actions. For example, change "=" to "equals ()"
19. Ctrl + Shift + Alt + N can quickly open the symbol
20. Ctrl + Shift + Space provides Smart prompts in many cases.
21. Alt + F3 can be quickly searched
22. Ctrl +/and Ctrl + Shift +/can comment out the code
23. Ctrl + Alt + B can jump to the implementation of the abstract Method
24. Ctrl + O you can select the parent class method for rewriting.
25. Ctrl + Q to view JavaDoc
26. Ctrl + Alt + Space is automatically completed by Class Name
27. wildcard characters or abbreviations can be used to quickly open a class/file/symbol.
28. Live Templates! Ctrl + J
29. Ctrl + Shift + F7 can highlight the use of the current element in the current file
30. Ctrl + Alt + Up/Ctrl + Alt + Down to quickly jump to the search results
31. Ctrl + Shift + J can be integrated into two rows
32. Alt + F8 is the variable value.

IntelliJ IDEA tips
In the process of using InelliJ IDEA, I found many tips worth mentioning in the IDE that many Java Programmers like by searching for materials and some of my own explorations, if You Can skillfully apply them to the actual development process, I believe it will greatly save your development time, and there will be a little sense of accomplishment :) Try it!

1. When writing Code, use Alt-Insert (Code | Generate... You can create the getter and setter methods for any fields in the class.

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.