Practical shortcut keys for getting started with Java

The editor is a newcomer. Through this period of contact with Java, I know how important it is for me to remember some shortcut keys for poor English. I will share it with you below.

1. ALT+'/' completion prompt The function of this shortcut key is to complete a long sentence of command code only by entering the first letter, and this also has the advantage of reducing the chance of typing the wrong letter.

2. CTRL+F11 is the shortcut key to run the code, which can quickly realize the operation of the code. The code written is not to be executed at the end, so the editor thinks this is very important.

3. CTRL+'D' deletes the current line. The advantage of this shortcut key is that when there is a code error and a large amount of code needs to be deleted, it can prevent long-pressing the backspace key from accidentally deleting the code.

4. CTRL+SHIFT+F, format the source code. For beginners, the code is often irregular and often complained when looking for help from God. Master this shortcut key and become a God in seconds.

5.CTRL+/ Quick Add, can add or uncomment the line where the cursor is located or the selected line.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325890205&siteId=291194637