Some shortcuts for Eclipse

xiaoxiao2021-03-05  50

edit

Scope Function Shortcuts Global Find and Replace Ctrl F Text Editor Find Previous Ctrl Shift K Text Editor Find Next Ctrl K Global Undo CTRL Z Global Copy Ctrl C Global Recovery Previous Selection ALT SHIFT ↓ Global cut CTRL X global quick correction CTRL1 1 global content Auxiliary ALT / global all selected CTRL A global deletion DELETE Global Context Information Alt ? ALT SHIFT ? CTRL SHIFT SPACEJAVA Editor Display Tool Tips Description F2JAVA Editor Select Package Element Alt Shift ↑ Java Editor Select the above Element Alt Shift ← Java Editor Select Next Element Alt Shift → Text Editor Increment Find CTRL J Text Editor Increment Reversible Ctrl Shift J Global Paste Ctrl V Global Redo Ctrl Y

Check

Scope function shortcuts global zoom CTRL = Global reduction Ctrl -

window

Scope Function Shortcut Key Operation Editor F12 Global Switch Editor Ctrl Shift W Global Previous Editor Ctrl Shift F6 Global Previous View Ctrl Shift F7 Global Previous Perspective Ctrl SHIFT F8 Global An editor Ctrl F6 global next view Ctrl F7 global next perspective Ctrl F8 text editor Show ruler Context menu Ctrl W Global Display View Menu Ctrl F10 Global Display System Menu Alt -

navigation

Scope function shortcuts Java editor Open Structure Ctrl F3 Global Open Type CTRL SHIFT T Global Open Type Hierarchy F4 Global Open Declaration F3 Global Open External JavadocShift F2 Global Open Resource Ctrl Shift R Global Back History ALT ← Global forward history ALT → Global last Ctrl , global next Ctrl .java editor display Outline Ctrl O global in hierarchy Ctrl Shift h globally to match parentheses Ctrl Shift P global turn To the previous editing position Ctrl QJAVA editor Go to the previous member Ctrl Shift ↑ Java editor to the next member Ctrl Shift ↓ Text Editor Go to Ctrl L

search for

Scope Function Shortcuts Global appears in the file Ctrl Shift U Open Search dialog box Ctrl H in the Global Workspace CTRL GG Global Workspace in Ctrl Shift g

Text Editor

Scope Function Shortcut Text Editor Rewriting Switch Insert Text Editor Row Ctrl ↑ Text Editor Row Ctrl ↓

file

Scope Function Shortcuts Global Save Ctrl X Ctrl S Global Print Ctrl P Global Off Ctrl F4 Global All Save Ctrl Shift S Global Properties Alt ENTER Global New CTRL N

project

Scope functional shortcuts globally all build Ctrl B

Source code

Scope Function Shortcuts Java Editor Format Ctrl Shift FJAVA Editor Cancel Ctrl / Java Editor Note Ctrl / Java Editor Add Import Ctrl Shift MJAVA Editor to Import Ctrl Shift Ojava Editor Use TRY / catch blocks are not set, it is often used, so it is recommended to set it yourself. You can also automatically correct using Ctrl 1.

run

Scope function shortcuts global single-step return F7 global single step skip F6 global single-step jumping into F5 global single-step jump selection CTRL F5 global debug last launch F11 global continuation F8 globally using filter single step execution SHIFT F5 Global Add / Remove Breakpoint Ctrl Shift B Global Display Ctrl D Global Run Last Last Ctrl F11 Global Run to Row CTRL R Global Perform Ctrl U Reconfiguration

Scope Function Shortcuts Global Undo Reconstruction Alt Shift Z Global Extraction Method ALT SHIFT M Global Extraction Local Variables Alt Shift L Global Inconline ALT SHIFT I Global Mobile ALT SHIFT V Global Rename ALT SHIFT R Global Redo Alt Shift Y

Ctrl Space: Code Assistant, but this is really conflict with the input method, but there is a better, Alt / also very easy to use it, the key is to open the key to Ctrl O: Open the structure in the editor, apply When the edit box is maximized, the jump function is used ... Ctrl T: is also used in the editor, open the inheritance tree of the selected element, can quickly locate the method of the parent class in the subclass CTRL Shift R: Find XML, JSP, etc. Ctrl Shift H: Open the class tree for the formula, apply to the hierarchy of the hierarchy without source code, using F4 is a ctrl H: Search In all files, the keywords are included, can be used to search XML and other configuration files .... Ctrl F6: Switch Edit Editor Ctrl M: Edit box Maximize ... Ctrl D: Delete One INSERT: Click Insert Switch the shape of several cursors, each shape represents an insert mode, the default is Smart INSERT CTRL /: Note and Cancel CTRL i: Formatted CTRL SHIFT M automatically searches for the package to which the mouse is located And automatically import, join the Import statement. CTRL SHIFT O bar, transform import * This way, IMPORT determined class or interface Ctrl 1 Smart fix (common) hold down Ctrl, automatically jump to this or method with mouse points Method or class.

Save Ctrl S (remember) Note Code CTRL / Cancel Comment Ctrl / (Eclipse3 has been merged into Ctrl /) Code Auxiliary ALT / Quick Repair Ctrl 1 Code Format Ctrl Shift F To Import Ctrl Shift o Switch window Ctrl F6

Ctrl Shift M Import Uncapsules Ctrl W Turn off a single window

F3 jump to class, declaration of variables F11 Run the last program Ctrl F11 debug the last program ALT back to the next edit point

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

New Post(0)