Home > Back-end >  Many lines of code in eclipse indentation shortcuts to the left or right as a whole
Many lines of code in eclipse indentation shortcuts to the left or right as a whole

Time:09-24

The Tab key to move the selected code as a whole to right
Shift + Tab to move the selected code left whole

CodePudding user response:

Sometimes used in coding, but shortcuts formatting code to use it is not sweet?

CodePudding user response:

Here lists only I think commonly used shortcut key, can't help you, I am deeply sorry



Most shortcut corresponding Ctrl key under Windows, corresponding to the Cmd key in the apple

1. Quick fix: Ctrl + 1

2. Quick and delete rows: Ctrl + D

3. Automatically jump to the next line: when the bank a lot of code, need to pull to the right to move the cursor to the next line, use Shift + Enter
can solve this problem
4. A quick run projects: Ctrl + F11

5. Line fast moving: move a line to the above or below, Alt + write/Alt + left

Line 6. Rapid replication: Ctrl + Alt + write/left

7. Enlarge the workspace: Ctrl + M

8. The completion code: Alt +/

9. The automatically generated javadox: Shift + Alt + J

10. Note: Ctrl + Shift + C or Ctrl + Shift +/

11. Format: Ctrl + Shift + F




Reproduced in: https://blog.csdn.net/dly215011/article/details/52886520

CodePudding user response:

Direct formatting: Ctrl + Shift + F can be to solve the problem
  • Related