Commonly used shortcut keys for Idea - double your code efficiency (1)

1. Shortcut keys related to code editing

1. Single line copy (to quickly create multiple objects) Ctrl+D

2. Blank the next line Shift+Enter

3. Single line comment shortcut key ctrl + /

4. Quickly build constructor, setter, getter, toString method Alt+Insert

4. Display menu for quick repairs and operations alt+enter

5. Format code:Ctrl + Alt + L

6. Quickly delete a lineCtrl + Y

7. Return to the statement ctrl+B


2. Specific display and use

1. Single line copy (to quickly create multiple objects) Ctrl+D


 2. Blank the next line Shift+Enter


  3. Single line comment shortcut key ctrl + /


 4. Quickly build constructor, setter, getter, toString method Alt+Insert


 5. Display menu for quick fixes and operations. alt+enter


Formatting code:Ctrl + Alt + L


6. Quickly delete a lineCtrl + Y


7. Return to the statement ctrl+B


Guess you like

Origin blog.csdn.net/dogxixi/article/details/132494016