Eclipse TIPS

xiaoxiao2021-03-05  21

1. There is a text image on the toolbar "Show Source Of Element Only". When you edit a member (method or domain) of the class, press this button, then the current window will only display you edited. Class members. Press one to recover.

2. Display the Java file line number. Select Window-> Preferences in the menu to open the Preferences window, select Java-> Editor, select Show Line Numbers in the right option.

Display non-Java file numbers. Select Workbench-> Editors-> Text Editor in the Preferences window, select Show Line Numbers in the same right option.

3. When editing the code, press Ctrl / You can comment the current line or selected multi-line code; press Atrl / You can display the prompts of the automatic completion code.

4. Select the code, press CTRL SHIFT F formatting code

5. Enter SYSO, press Atrl / Out of System.out.Println (");

转载请注明原文地址:https://www.9cbs.com/read-36822.html

New Post(0)