Eclipse a few hot keys

xiaoxiao2021-03-06  65

1)

Alt /

Modification: Window -> Predictive Setting -> Workbench -> Button -> Edit -> Content Auxiliary.

Personal habits: Shift Space.

Simple explanation: When the program code is edited, the SYSOUT TEMPLATE start button is called.

It will appear automatically: system.out.println () ;.

Set the format of the Template: Window -> Predictive Set -> Java-> Editor -> Model.

2)

Code code automatic version: Ctrl Shift F

Modify: Window -> Predictive Setting -> Workbench -> Button -> Code Code -> Format.

Personal habits: alt z.

Automatic Typing Settings: Windows -> Predictive Set -> Java-> Code Format Code.

Style page -> will insert Tab (rather than blank keys), this option cancels

Number of spaces below 4, which is rumored in space 4 when automatic arrangement.

3)

Quick execution program: Ctrl F11

Personal habits: Alt X

Modify: Window -> Predictive Setting -> Workbench -> Button -> Execution -> The previous startup job is started.

Simple explanation: When executed, it will ask you to perform mode,

After setting, just press this hotkey, it will execute quickly.

.. I think it is very funny ^ ___ ^

4)

Automatic remitting the required category: Ctrl Shift o Easy statement: Suppose we don't have any type of Import, when we are in the program: BufferedReader BUF = New BufferedReader (NEW INPUTSTREAMREADER (ISTEM.IN); at this time Eclipse It will be warned that there is no way to enter the category. At this time, we will automatically help our Import category when you press Ctrl Shift O. 5) View the original code of the use of categories: Ctrl Left mouse click Easy to explain: You can see the original code of the category. Note the selected text: Ctrl / Easy Description: It is convenient to debug. Modification: Window -> Prediction -> Workbench -> Button -> Code -> Note 6) View Suggestions: Ctrl F8 Personal Habits: Alt S. Modification: Window -> Predictive Setting -> Workbench -> Button -> Window -> Next View. Simple explanation: It can be convenient for us to quickly switch editing, amplifies and more. 7) Toggle Folding, Expand Function Turn on / Off): Ctrl Keyboard Right Digital District '/' Toggle Insert Model (Smart Insert Mode Turn on / Off): Ctrl Shift Insert 8) If you see the source code, F3 or Ctrl mouse left mouse to enter the source file, then CTRL O, display method list

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

New Post(0)