Eclipse 3.0 RC2 hotkey table (Zhong Ying Guan Edition, Default)

zhaozj2021-02-16  79

★ Eclipse 3.0 RC2 hotkey table (Chinese and English contrast, default) ★

Author: sungo date: 2004/06/16 (3)

◎ Reading instructions: The blue label hot button after the colon (:) is the standard hotkey for Eclipse preset. The blank means that Eclipse does not have a hotkey to the project; the red label option represents a common or important hotkey; light pink Task options indicating that the range of the hotkey can be started.

◎ Hotkey Modification: Window-> Preference-> Workbench-> Keys

◎ FAQ, how do you start if you don't have a hotkey? Method 1. Have a hotkey yourself. Method II. The option in the hotkey settings, in fact, most of the menus can be done directly from the menu.

-------------------------------------------------- -------------------------------------------------- ---------

Compare - Compare Copy All from Left to Right (All Copy All) Copy All from Right To LEFT (All left copy all) COPY from LEFT TO RIGHT (copy right) COPY from Right to Left Right to the left) Select Next Change (selected next change) Select Previous Change (selected one change)

CVS - Concurrent Versions System Checkout from CVS (Check of CVS)

Edit - Edit Add Bookmark Add Task: Ctrl Keyboard Right Digital Area '-' Content Assist (Content Auxing - Copy Templetes Startup): Alt / or Ctrl Space Context Information: Alt ? Or Alt Shift ? Or Ctrl Shift Space Copy: Ctrl C Custom Encoding Cut (select text): Ctrl X Default Encoding (use preset Code) Delete (Delete Collection): Delete Expand: Ctrl Keyboard Right Digital Area ' ' Expand ALL (Program Code All Expand): Ctrl Keyboard Right Digital District '*' Find and Replace (Looking for and replacing words): Ctrl f Find next (looking for the next item): Ctrl K Find Previous (looking for the previous item): Ctrl Shift K Incremental Find (progressive): CTRL J Incremental Find Reverse (Reverse gradual search): CTRL SHIFT J ISO-8859-1 Encoding (changed to ISO-8859-1) Paste (post from OS Scrapbook): Ctrl V Quick Diff Toggle (QuickDiff Opening / Turn off): Ctrl Shift Q Quick Fix (Fast Kit): Ctrl 1 Redo (Redo the last job): CTRL Y RESTORE Last Selection: Alt Shift Direction button '↓' Revert To Saved Select All (Select All Text): Ctrl A SELECT Enclosing Element: (Selected Elements) Alt Shift Direction Key '↑' Select Next Element: Alt Shift Direction Key '→' SELECT Previous Element (select the previous element): Alt Shift arrow key '←' Shift Left (move the line to the left) Shift Right (moving the line to the right to move a zone SHOW Tooltip Description (Tool Tips for Cursor Location Display Elements): F2 System Encoding (Chat Change to System Code) Toggle Folding (program code folding, expand Function Turn on / Off): Ctrl Keyboard Right Digital Area '/' Toggle Insert Model (Smart INSERT Mode Turn on / Off): Ctrl Shift Insert Undo (Restore Procedure): Ctrl

Z US ASCII ENCODING UTF-16E ENCODING (Code Change to UTF-16) UTF-16 ENCODING (UTF-16) is UTF-16 ENCODING (UTF-16) UTF-8 Encoding (changed to UTF-8) File - Archive CLOSE: Ctrl W or Ctrl F4 Close All (Close All Archives): Ctrl Shift W or Ctrl Shift F4 EXIT ( Close the top window of the screen): Alt F4 (Note: 3.0RC2 does not preset this set of hot keys, but still can be used.)

EXPORT (Open Menu) IMPORT (Mobile Profile) NEW (Open Profile Establishing Wizard): Ctrl N New Menu (Display File-> New Mengers): Alt Shift N Open External File (Open external file) Open Workspace (ONWORKSPACE Settings Window) Print: Ctrl P Properties (Org.eclipse.ui.File.Properties): Alt Enter Refresh (Reorganization): F5 rename: F2 Revert (Reply to Save) Save: Ctrl S Save All (Save All Archives): Ctrl Shift S Save As (Save New)

HELP - Description About (Open About Dialog) Help Contents Tips and Tricks (Open Tips & Skill Description Page) WeClome (On Welcome Page)

NaviGate - Guide Backward History (moving backwards in the Editor Navings): Alt Direction Key '←' Forward (Forward Guide) Forward History (forward in the editor navigation Move): Alt arrow keys '→' Go INTO (in selected directory) Go to line (moving to a line): Ctrl L Go To match Bracket (moving the cursor to the symmetrical square bracket): Ctrl Shift P Go to Next Member (moving to the next MEMBER): Ctrl Shift Direction button '↓' Go to Package (Move to Package Explorer) Go to Previous Member (moving to the previous MEMBER): Ctrl Shift direction Key '↑' Go To Resource (moving to resources) Go to Type (moving to the category) Last Edit LoAction (moving to the previous editing location): Ctrl q next (moving to the next indicator element): Ctrl . (Note: The type of element can be set by Toolbar's next annotation.)

Open Call Hierarchy: Ctrl Alt H Open Declaration (Browse the Java element selected): F3 (Note: Effect is equal to CTRL mouse left mouse button) Open External Javadoc (Open External Javadoc): Shift F2 Open Resource: Ctrl Shift R Open Structure (Structure of the selected element): Ctrl F3 Open Super Implementation (on the actuator in the super type) Open Type: Ctrl Shift T Open Type Hierarchy: F4 Open Type in hierarchy (open category in the category class): Ctrl Shift H Previous: Ctrl , (Note : The element type can be set by Toolbar's PreviOUS Annotation.) Quick Hierarchy (Displayed on the editor in a floating manner): Ctrl T Quick Outline (display the profile window in the editor in a float ): Ctrl O show in Menu (Display options available to the current SHOW IN menu): Alt Shift W SHOW IN PACKAGE EXPLORER (Displayed in the Suite Browser) UP (Top 1)

Project - Project BUILD ALL (Building all items): Ctrl B Build Clean (Clear Project) Build Project CLOSE Project (Close Project) Generate Javadoc (Production Javadoc) Open Project (ORG.) Properties. Eclipse.ui.project.properties) Rebuild All (Rebate All Projects) Rebuild Project Repeat Working Set Build (Repeat the project set) (Note: Beild Automatically can be used when it is closed.)

Refactor - Java (Reconstruction - Java) Change Method Signature (Change Method Sign): Alt Shift C Convert Anonymous Class To NESTED (Convert anonymous Category into Nesti Categories) Convert local variable tofield (convert zone variables into Fields: Alt Shift F Encapsulate Field (Package Field: Setting the getting and setting methods for the field, and only use these methods to access the field) Extract constant (capture constant: capture the numbers to the new Static field, And use new static fields)

Note: <- start->

If the following program code reconstructs the number 10 after Extract Constant ...

Public class test {public static void main (string [] args) {INT x = 10;}}

It will become the following program code: (constant field name, can be freely set in the reconstruction.)

Public class test {public static final int Ten = 10; public static void main (string [] args) {int x = ten;}} Note: <- end->

Extract Interface (capture into the interface: Improve the method in the original category into the new interface, the original category will act on the interface) (Note: The new interface will form a new * .java file. If it is executed in Interface This feature, the old interface will inherit the new interface.) Extract local variable: Capture to zone variable: Captify the number to a new area variable): Alt Shift L Extract method (Capture method: Representation Capture into a new method): Alt Shift M Generalize Type (Classification of Reference Category Stem Changes) Inline (included in constant, zone variables, or method): Alt Shift I Introduce Factory Agent: Using the method to get the constructive)

Note: <- start->

If the program code is reconstructed after INTRODUCE FACTORY ...

Public class test {private int number; test (int x) {Number = x;} public static void main (string [] args) {system.out.println (new test (5) .Number);}}

It will become the following code:

Public class test {private int number; public test (int x) {Number = x;} public static void main (string [] args) {system.out.println (CreateTest (5) .Number);} public static test (int x) {return new test (x);}}

Note: <- end->

Introduce Parameter (using parameters: transfers the zone variable to parameter mode)

Note: <- start->

If the following program code reconstructs the number 5 after INTRODUCE PARAMETER ...

Public class test {public static void main (string [] args) {INT x = 5;}}

It will become the following code:

Public class test {public static void main (string [] args, int FIVE) {int x = file;}}

Note: <- end->

Move MEMBER TYPE TO NEW FILE (Moves Category Members to a new file) Move - Refactoring (Mobile - Reconstruction: Move the selected element to the new location): Alt Shift V Pull Up (Will Category Members Parent category pushed to the category) Push Down (Pushing the category member (field and method) into the subcategory of the category) Redo - Refactoring (redo - Reconstruction: Reduction of the previous reconstruction): Alt Shift Y Refactor Quick Menu (Reconstructing Quick Menu in Editing Zone): Alt Shift T Rename - Refactoring (Rename Name - Reconstruction: Rename the elements selected, category name, area variable name, etc. ..): Alt Shift R Undo - Refactoring (Recovery - Reconstruction: Reconstruction of the previous time): Alt Shift Z Use supertype where possible (starting "Using the Parent Category" Reconstruction dialog box.) ◎ Supplementary naming rules: (When you rename this rule, Eclipse will warn, although you can no matter whether warning, this is a good style.)

1. Interface Name: At the beginning. 2. Regional Variable (LOCAL Variable) Name: At the beginning. 3. The Name of the Public Static Final INT ...: All uppercase.

Run / Debug - Execute / Include Add Class Load Breakpoint (Add a Category Load Broken Point)) Add Java Exception Breakpoint (Add a Java Abnormal Status Breakpoint) Debug ... Last Launched (in the final startup mode): F11 Display (org.eclipse.jdt.debug.ui.commands.display): Ctrl Shift D (Note: When the intensive is suspended, this The command will use the "Display" screen, which is displayed under the environment definition of the stack box or variable of the execution, and evaluates the result of the selected expression.)

Execute: CTRL U Inspect (observation): Ctrl Shift i (Note: This instruction uses the "Representation" inspection screen when executed is paused, displayed in this execution Under the environment definition of the stack box or variable, the result of the selected representation or variable is inspected.)

Profile LAST LAUNCHED (Overview of the Last Job) Resume: F8 Run LAST LAUNCHED (Rapid to perform the most recent startup job in execution mode): Ctrl F11 Run Last Launched External Tool (start up one after the execution External tools) Run to line (executed to the specified line, can be suspended at the point without setting breakpoint): Ctrl R Skip All Breakpoints (without clearing the breakpoint, doing all breakpoints) Step INTO: F5 Step INTO Selection (enter the currently selected statement): Ctrl F5 Step over (Skip subprogram): F6 Step Return: F7 SUSPEND TERMINATE TOGGLE BREAKPOINT (new / removed, breakpoint): Ctrl Shift B Toggle Method Breakpoint (new / removal, method breakpoint) Toggle Step Filters (filtered Conditions step by step): Shift F5 Toggle WatchPoint (new / removal, field monitor point) Search - Search Declaration in hierarchy (Search for the announcement of selected elements in its class) Declaration in project (Search in the project Declaration of selected elements) Declaration in Working Set (Declaration of selected elements in the work) Declaration in Workspace (Declaration of selected elements in the workspace): Ctrl G Exception Occurrences (Search Exception Event) File Search Open the Search Search page of the Search Dialog Box) Implementors in Project (Search for the actuals of the selected interface in the project) Implementors in working set (Search for the actuals of the selected interface in the work) Implementors in Workspace The actual person of the selection interface) Occurrences in file (all the appearances of the selected element in its announcement): Ctrl Shift U Open Search Dialog Search dialog box: Ctrl h Read Access in hierarchy (Search for the selected element in its class) Read Access in Project (see the reading reference for the selected element in the project) Read Access in Working SET Read reference references in Work Concentration Selected Elements) Read Access in Workspace (see reading reference for selected elements in the workspace) References in hierarchy (Reference to the selected element in its class) References in Project Reference search in the project) References in Working Set (Reference to search for selected elements in the work) References in Workspace (see the reference in the workspace): Ctrl Shift g Referring Tests Test) Write Access in hierarchy (write reference for searching for selected elements in its class) Write Access in project (write reference for searching for selected elements in the project) Write Access in Working Set (Search for the selected Description of Elements Write Access in Workspace (Search for the writing reference for selected elements in the workspace)

Source - Program Code Add Block Comment (Will Numbers): Ctrl Shift / Add Constructors from Superclass (Add a Construction from the Parent Category) Add import (for currently selected Category Reference Establishment Anhui Declaration): Ctrl Shift M Add Javadoc Comment: Alt Shift J Comment (Note) Externalize Strings (Open "Export Strings" Find Strings To Externalize (Find a string to be externalized) Format: Ctrl Shift F format Element (formatting element) Generate Constructor Using Fields (using fields to generate a constructive) Note: <- start->

As shown in the following program code, select the field name Money and passed through the Generate Constructor Using Fields Directive ...

Public class test {Int Money; public static void main (string [] args) {}}

It will become the following code:

Public class test {Int Money; public test (int money) {this.money = Money;} public static void main (string [] args) {}}}

Note: <- end->

Generate Delegate Methods (Enable the "Delegation Method" dialog, the delegation method for the new type field) Generate getters and setters (Enable the "Generation Getter and Setter" dialog box, you can automatically establish a getter and setter method for fields ( Single row, it will follow the format set by Formatter): Ctrl I Mark Occurrences: Alt Shift O Organize Imports (Organization Remarks): Ctrl Shift O (Note: This is a very convenient Function, simple explanation Using the timing: Suppose we play in the program, JFrame SRC; do not import any swing category, at this time, Eclipse will have an error warning, labeled JFRAME with the red bottom line, simply press CTRL Shift O, Eclipse will automatically: import javax.swing.jframe; add it to the program code.)

OVERRIDE / IMPLEMENT METHODS (Enable "overwriting / actual method" dialog, overwriting or implements a method in the current category) Remove Block Comment (remove multi-line annotation / ** /): Ctrl Shift / Remove Occurrence Annotations: Alt Shift U Sort Members (Sort Members) Source Quick Menu (Quick Menu for Source in Editing Area): Alt Shift S Surround with Try / Catch Block (in Try / Catch District Block Cover Selected Text) Toggle Comment (plus single-line annotation / cancel single line annotation): Ctrl / or Ctrl 7 or Ctrl Shift CUNComment (canceled annotation)

◎ Supplement, Source hide the hotkey: 1.shift Right (shift to the right, increase the contraced level of the currently selected word line): Tab 2.shift left (shift left to left, reduce the currently selected word line Hierarchical: Shift Tab

Team - Team SYNCHRONIZE (synchronization)

Text Editing - Text Editing CLAER MARK (Clear Tag) Copy Lines (Select the text, copy to a new row): Ctrl Alt arrow keys '↓' cut line (Cut the single line text) Cut to beginning of line (Cut the text) The scope is selected to the beginning of a single line.) Cut to end of line (cut the text, the range is selected) delete line: Ctrl D delete Next (Delete Next) Delete Next Word Delete the next word): Ctrl Delete delete previous (Delete Front) Delete Previous Word: Ctrl Backspace Delete To Beginning Of Line (Delete Text, Range to the beginning of a single line) delete to End of line (delete text, range to the single line end) DUPLICATE LINES (Select the text, copy to a new row): Ctrl Alt arrow key '↑' INSERT LINE Above Current Line (this line at the cursor Plus the new line above: Ctrl Shift Enter INSERT LINE BELOW CURRENT LINE (insert a new line below the row at the cursor): Shift Enter Line Down (Move down the row) LINE END (Tagging) LINE START (Move to the beginning of the row) Move Lines Down (move the line of writing): Alt arrow keys '↓' Move Lines Up (Waiting the line Move): Alt arrow keys '↑' Next Column (Cursor moving to the next List) Next Word (Cursor moving to the next list): Ctrl arrow keys '→' Page Down (move to the next page) Page Up (moving to the upper One page) Previous column (Cursor moving to the previous column) Previous Word (Cursor moving to the previous group): Ctrl arrow keys '←' scroll line down (down-rolled): Ctroll arrow keys '↓' scroll line up (up Volume Move): Ctrl arrow button '↑' SELECT LINE DOWN (Select Next) SELECT LINE END Select Line Start Select Line Up Select Line Up Select Next Column (Select Next List) Select Next Word (Select Next Word]) SELECT NEXT WORD : Ctrl Shift Direction Key '→' SELECT Page Down Select Page Up Select PREVIOS COLMN (selected Previous List) Select Previous Word: Ctrl Shift Direction Key '←'

SELECT TEXT END SELECT TEXT START SELECT TEXT START SELECT WINDOW END SELECT WINDOW END SELECT WINDOW START (select to window start) Set Mark Swap Mark (Exchange Mark) Text End (Code Move to Text Editor Last End) Text Start (Cursor Move to Text Editor Top) Toggle Overwrite (Overriding / Insert Mode Selection): Insert to Lower Case (selected by the English Text transformation): ctrl shift y to up Upper case: Ctrl Shift X WINDOW END (moving the cursor to the window end) Window Start (move the cursor to the window Views - Check ANT (Open ANT View Window) BREAKPOINTS (Open Breakpoint View Window) Classic Search (Open Traditional Search View Window) Console (Open Main Control Desk View) CVS Annotate (Open CVS) Annotate View Window) CVS Editors (Open CVS Repositories View Window) CVS Resource History (ON CVS Resource History View Window) DISPLAY (ORG.ECLIPSE.JDT.DEBUG .ui.displayview) (ON) ERROR log (Open Error Recording View Window) Expressions (Top Defrigeration - Representation View Window) Java Call Hierarchy (Open Call Hierace "Java Declaration Window) Javadoc (Open Javadoc View Window) Java MEMBERS (Open Category Members Check Window) Java Package Explorer: Alt Shift Q, P Java Packages Java Projects (Open Java Project) View window) Java Type Hierarchy Category Class Inspection window): Alt Shift Q, T Java Types JUnit (Open JUnit View Window) Memory (Instead) Outline (Opening Overview) Viewing window): Alt Shift Q, o Plug-in Dependencies PLUG-INSTRY PLUG-INS (Open PLUG-INS View window) PROBLEMS Opening a problem view window): Alt Shift Q, X Progress (ORG.Eclipse.ui.views.property/sheet) Registers (Take the Inspector-Cache " Window) Search: Alt Shift Q, S Synchronize: Alt Shift Q, Y Tasks (Open Job Sightseeing Window) Threads and Monitors (Turn on Error) View window) Variables (turn on the error-variable view window)

◎ Supplement: Views on the Views View window: Window-> show view-> Other.

Window - Window Activate Editor (Startup Editor): F12 Close All Perspectives (Close All View) Close Perspective Customize Perspective Hide Editors (Hidden Editor) Lock The Toolbars (Lock Tools Column Maximize Active View or Editor (editing area maximization): Ctrl m next Editor: Ctrl F6 Next Perspective: Ctrl F8 Next View (Switch to bottom A view): CTRL F7 Open Editor DroP Down (in a floating manner in the editing area, display fast switching editor menu): Ctrl E PIN Editor Preferences Previous Editor (Switch to the upper An editor): Ctrl Shift F6 Previous Perspective: Ctrl Shift F8 Previous View: Ctrl Shift F7 Reset Perspective (reset view) save personpect As (stored as new view) Show Ruler Context Menu (Display Range Content Menu): Ctrl F10 Show SELECTED Element Only (program code only) Show System Menu: Alt - Show View Menu (Show View Menu): Ctrl F10 Switch To Editor (Switch to Editor): Ctrl Shift E ------------------------- -------------------------------------------------- ---------------------------------- ◎ About Repost: Welcome to this article, but please indicate the author and Source: javaworld @ taiwan, thanks!

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

New Post(0)