Eclipse shortcut

xiaoxiao2021-03-18  235

Eclipse shortcut

Alt left arrow, right arrow to switch labels in editing window

Alt up and down arrows to automatically select the row in the mouse and move it up and down

Ctrl F6 can pop up the menu, listed above, editing windows that can be switched, so that you can switch without mouse

Ctrl F7 can switch between views, such as editing views, output views, project views

Ctrl F8 can switch in different viewing views, is switched between Java view, debugging view, etc.

Ctrl M can switch between maximizing current windows and restore the current window

CTRL E pops up the input window, you can enter the code window you want to edit, and the same functionality as Ctrl F6, just one is a choice method, one is an input method, switch window

Ctrl T can directly display the class diagram of the content of the cursor, you can enter directly, and jump to the input content part

Press and hold the CTRL button, then the mouse point to the variable name, method name, and class name to quickly jump in the source code.

Ctrl F11 Quick execution program

CTRL SHIFT F program automatic typography

Ctrl Shift O Automatically adds a reference. Description: Suppose we don't have any type of Import, when we are in the program: resourceattirbute ra = new resourcettribute (); Eclipse will prompt to say no reference category, then we will press CTRL Shift O, it will automatically Help our import this category. Very convenient

Ctrl / Note the selected block: It is convenient to DEBUG.

Alt / is that everyone should have the most common code assistant.

Ctrl H Search, open Search Dialog

Ctrl Shift Space parameter prompt, if located in the method body at this time, the parameter prompt of the method will appear, and the parameters where the current cursor is located will display bold.

edit

Scope function shortcut

Global look up and replace Ctrl f

Text Editor looks up a Ctrl Shift K

Text Editor Find Next Ctrl K

Global revoke Ctrl Z

Global copy Ctrl C

Global restore the previous selection of Alt Shift ↓

Global cut Ctrl X

Global Quick Correction Ctrl1 1

Global content auxiliary ALT /

All selected Ctrl A overall

Global Delete Delete

Global context information ALT ?

Alt Shift ?

Ctrl Shift Space

Java Editor Display Tool Tip Description F2

Java editor selection package element Alt Shift ↑

Java Editor Selects the previous element Alt Shift ←

Java Editor Select Next Element Alt Shift →

Text Editor Increment Find Ctrl J

Text Editor Increment Reverse Find Ctrl Shift J

Global paste Ctrl V

Global Redo Ctrl Y View

Scope function shortcut

Global zoom CTRL =

Global reduction Ctrl -

window

Scope function shortcut

Global activation editor F12

Global Switch Editor Ctrl Shift W

Global last editor Ctrl Shift F6

Global Previous View Ctrl Shift F7

Global on a perspective Ctrl Shift F8

Global next editor Ctrl F6

Global Next View Ctrl F7

Global next perspective Ctrl F8

Text Editor Shows Ruler Context Menu Ctrl W

Global display view menu Ctrl F10

Global display system menu Alt -

navigation

Scope function shortcut

Java editor opens the structure Ctrl F3

Open type Ctrl Shift T

Open type hierarchy F4

Global open statement F3

Open the outside Javadoc Shift F2

Open resource Ctrl Shift R overse

Global back history record alt ←

Global forward history ALT →

Global on a Ctrl ,

Global next Ctrl .

Java Editor Display Outline Ctrl O

Open the type Ctrl Shift H in the hierarchical structure

Global transfer to match parentheses Ctrl Shift P

Global transfer to the previous editing position Ctrl Q

Java editor goes to the previous member Ctrl Shift ↑

Java editor goes to the next member Ctrl Shift ↓

Text Editor Go to Ctrl L

search for

Scope function shortcut

Ctrl Shift U in the global appearance

Open Search dialog box Ctrl H

Statement Ctrl G in the global work area

Ctrl Shift g in the global work area

Text Editor

Scope function shortcut

Text Editor overwriting Insert Insert

Ctrl ↑ on the text editor ↑

Ctrl ↓ under the text editor ↓

file

Scope function shortcut

Global preservation Ctrl X

Ctrl s

Global print Ctrl P

Global close CTRL F4

Save Ctrl Shift S globally

Global All Close Ctrl Shift F4

Global Properties Alt ENTER

Global new Ctrl N

project

Scope function shortcut

All build CTRL B

Source code

Scope function shortcut

Java editor format Ctrl Shift f

Java editor cancels Ctrl /

Java Editor Note Ctrl /

Java Editor Add Import Ctrl Shift M

Java editor organization import CTRL Shift O

The Java editor uses the TRY / CATCH block to surround unsigned, too common, so listed here, it is recommended to set it yourself.

You can also automatically correct using Ctrl 1.

run

Scope function shortcut

Global Single Step Back F7

Global single step skip F6

Global single step jump into F5

Global Single Step Jumping into Select Ctrl F5

Global debugging last started F11

Global continues F8

Global use filter single step to execute Shift F5

Global Add / Remove breakpoint Ctrl Shift B

Global display Ctrl D

Operate the last start CTRL F11

Operate to Ctrl R globally

Global execution Ctrl U

Reconstruct

Scope function shortcut

Global revocation reconstruction Alt Shift Z

Global extraction method ALT SHIFT M

Ground extraction of local variables Alt Shift L

Global Inline Alt Shift i

Global mobile ALT SHIFT V

Global rename Alt Shift R

Global heavy ALT SHIFT Y

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

New Post(0)