★ Eclipse 3.0 RC2 hotkey table (Zhong Ying, default) ★ Author: sungo date: 2004/06/16 (3) ◎ Reading instructions: colon (:) Blue label hot button for Eclipse presets Hotkey, blank means that Eclipse does not make hot keys to the project; the red label option represents a common or important hotkey; light pink label option, indicating that the hotkey can be activated. ◎ Hotkey Modification: Window-> Preference-> Workbench-> Keys ◎ FAQ, how does the function of the hotkey does not start? 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 (from left to right Copy) COPY from Right To LEFT Select Next Change Select Previous Change CVS - Concurrent Version System Checkout from CVS (Check) Edit - Edit Add Bookmark Add Task: CTRL Keyboard Right Digital Area '-' Content Assist (Content Auxiliary - CODE TEMPLETES: Alt / or Ctrl Space Context Information: Alt ? Or Alt Shift ? Or Ctrl Shift Space Copy (copy Selection text to OS Scrapbook): Ctrl C Custom Encoding CUT (Select Text and Plug) : Ctrl x Default Encoding Delete (Delete Collection): Delete Expand (Program Expand): Ctrl Keyboard Right Digital Area's ' ' Expand All (Program Code All Expand): Ctrl Keyboard Right Digital District '*' Find and Replace (Looking for and replacing text): Ctrl f Find next (looking for the next project) : Ctrl K Find Previous: Ctrl Shift K Incremental Find: Ctrl J Incremental Find Reverse (reverse gradual search) : Ctrl Shift J ISO-8859-1 Encoding (Classification Changed to ISO-8859-1) Paste (Post from OS Clip Art): Ctrl V Quick Diff Toggle (QuickDiff open / close): Ctrl Shift Q Quick Fix (Fast Kit): Ctrl 1
Redo (redo the last job): CTRL Y Restore Last Selection: Alt Shift Direction Key '↓' Revert to Saved Select All (Reply to Save) SELECT ALL Select all text): Ctrl a SELECT Enclosing Element: (Selected Elements) Alt Shift Direction Key '↑' SELECT NEXT Element: Alt Shift arrow keys '→' Select Previous Element: Alt Shift Direction Key '←' Shift Left (Move the line to left to move a zone) Shift Right (Move the line to the right) SHOW Tooltip Description (Tool Tips for Cursor Location Display Elements): F2 System Encoding (Chat Change to System Coding) Toggle Folding (Program Code More , Expand Function On / Off): Ctrl Keyboard Right Digital District '/' Toggle Insert Model (Smart INSERT Mode Turn on / Off): Ctrl Shift Insert Undo (Restore the previous job) : Ctrl Z US ASCII ENCODING UTF-16BE ENCODING (Code Change to UTF-16BE) UTF-16 ENCODING (will be changed to UTF-16) UTF-16LE ENCODING Coding change to UTF-16LE) 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: Alt F4 (Note: 3.0rc2 does not preset this set of hot keys, but still can be used.
EXPORT (Open Replacement Menu) Move (Mobile Profile) New (Open File): Ctrl N New Menu (Display File-> New menu): Alt Shift N Open External File Open Workspace (Open Workspace Settings Window) Print: Ctrl P Properties (ORG.ECLIPSE.UI.FILE.PROPERTIES) Archive content): Alt Enter Refresh: F5 Rename: F2 Revert (Reply to Saved) Save: Ctrl S < In Windows> Save All: Ctrl Shift S Save AS (Save New) Help - Description About (on the Dialog) Help Contents (Open Eclipse Description Document) Tips and Tricks Tips and Skills Description Page) WECLOME (Top Welcome Page) NaviGate - Guide Backward History (moving backwards in the editor navigation): Alt arrow keys '←' Forward (Forward Guide) Forward History (moving forward in the Editor Navings): Alt Direction Key '→' Go INTO (in the selected directory) Go to line (moving to a line): Ctrl L Go to Matching 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 (moving to the kit, used for Package Explorer) Go to Previous Member Previous MEMBER): Ctrl Shift Direction button '↑' Go to resource) 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 element type can be set by Toolbar's Next Annotation.
Open Call Hierarchy: Ctrl Alt H Open Declaration: F3 (Note: Effect is equal to CTRL mouse left mouse button] Open External Javadoc: SHIFT F2 Open Resource: Ctrl Shift R Open Structure (Structure of the selected element): Ctrl F3 Open Super Implementation Open Type: Ctrl Shift T Open Type Hierarchy: F4 Open Type in in WIND Hierarchy (open category in the Category Class): Ctrl Shift H Previous (moving to the previous indicator element): Ctrl , (Note: Element type can be taken by Toolbar's PreviOUS Annotation Set.) Quick Hierarchy (in floating mode): Ctrl T Quick Outline (in floats): Ctrl O < Editing Java Source> Show In Menu (Displaying the option available to the current Show In menu): Alt Shift W show in package explorer (displays the selected element in the Suite Browser) UP (Top 1) Project - Project BUILD ALL (Building all items): Ctrl B Build Clean BUILD PROJECT CLOSE PROJECT (Close a Project) Generate Javadoc (Generation Javadoc) Open Project (Open Project) P Roperties (ORG.ECLIPSE.UI.PROject.properties) Rebuild All (Rebate All Projects) Rebuild Project Repeat Working Set Build (Repeat Settings Settings) (Note: BUILD Automatically can be used when it is closed.
Refactor - Java (Reconstructing - Java) Change method Signature (Change Method Sign): Alt Shift C Convert Anonymous Class To Nested (Convert anonymous Category into Nestiki Categories) Convert local Variable To Field ( Convert zone variables into fields): Alt Shift F Encapsulate Field (Package Field: Setting your getting and setting methods for the field, and only use these methods to access the field) Extract constant (capture constant: Cap with new Static fields and use new static fields) Note: <- start-> Reconstructing numbers by extract constant by 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 firm int Ten = 10; public static void main (string [] args) {int x = ten;}}
Note: <- end-> extract interface (captured as an interface: Take the method within the original category into the new interface, the original category will act on the interface) (Note: The new interface will form a new * .java Document. If this function is executed in Interface, the old interface will inherit the new interface.) Extract local variable (capture zone variable: capture the number as a new area variable): Alt Shift L Extract Method (Capture Method: Selecting the selected representation into a new method): Alt Shift M Generalize Type (Category Category Strike Class Category Substitution) Inline (included in the constant, Regional variables or methods): Alt Shift I Introduce Factory (adopting a method: Using the method to get the construct) Note: <- start-> Reconstructing the TEST Construction by Introduce Factory by 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) Note: <- start-> If the following program code via Introduce Parameter Refactoring the number 5 after ...
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 elements to new location): Alt Shift V PULL UP (pushing the category member parent category) PUSH DOWN (Pushing the category member (field and method) to the subcategory of the category) REDO - Refactoring (heavy - heavy Structure: Reduction of the previous reconstruction): Alt Shift Y Refactor Quick Menu (in the editing area Show Reconstruction Quick Menu): Alt Shift T Rename - Refactoring (Rename - Reconstruction: Rename the elements selected, category name, area variable name, etc ...): Alt Shift R undo - refactoring (recovery - reconstruction: reconstruction of recovery): Alt Shift Z Use Supertype WHERE POSSIBLE (started using the parent category ", using the parent category".) ◎ Supplementary naming rules: (Reconstructing this rule when naming this rule, Eclipse will warn, although Regardless of 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 last startup job deactivation mode): F11 Display (org.eclipse.jdt.debug.ui.commands.display) (Display): Ctrl Shift D (Note : This instruction uses the "Display" inspection screen when the intensive is suspended, and the result of the selected representation is assessed in the environment definition of the stack box or variable of the execution.) Execute (execution: Open the execution launch configuration dialog Box): Ctrl u Inspect: Ctrl Shift I (Note: This instruction uses the "Representation" inspection screen when it is suspended, displayed in the execution. Under the environment definition of the stack box or variable, the result of the selected expression or variable is inspected.
PROFILE LAST LAUNCHED (Overview of the most job) Resume: F8 Run LAST LAUNCHED (Rapid to perform the most recent startup job in execution mode): Ctrl F11 Run Last Launched External Tool (External Tools Performing the Top Tools) Run to Line (executed to the specified line, can be suspended at the point where the breakpoint is not set): Ctrl R Skip All Breakpoints (without cleaning the breakpoint) In case, skip all breakpoints when executed) STEP INTO: F5 Step INTO Selection (enter the currently selected statement): Ctrl F5 Step over (Skip subprogram): F6 Step Return (Sub-Sub-item): F7 Suspend (Pause Out) TOGGLE BREAKPOINT (new / removed, breakpoint): Ctrl Shift B Toggle Method Breakpoint (New / Remove, Method Breakpoint) Toggle Step Filters: Shift F5 Toggle WatchPoint (new / removed, field Surveillance point) Search - Search Declaration in Hierarchy (Declaration of selected elements in its class) Declaration in project (announcement of selected elements in the project) Declaration in working set (search for selected elements in the work Declaration) Declaration in Workspace (Declaration of selected elements in the workspace): Ctrl G Exception Occurrences File Search (Search Search page of the Search Dialog) IMPLEMENTORS IN Project Search for the actuals of the selected interface) Implementors in working set (the actor in the job is searching for the actor) IMplemen Tors in Workspace (Search for the active in the workspace) Occurrences in file (all the appearances of selected elements in its announcement): Ctrl Shift u Open Search Dialog Search dialog box: Ctrl h Read Access in hierarchy (reading a reference for selected elements in its class) Read Access in Project (see the reading reference for the selected element in the project) Read Access In Working Set (Read References in Work Concentration Element) Read Access in Workspace (see the reading reference for selected elements in the workspace) References in hierarchy (search for the reference in its class) References in project (Reference search for selected elements in the project) References in working set (see the reference for the selected element in the work) References in Workspace (see the reference for the selected element in the workspace): Ctrl Shift
G Referring Tests Write Access in Hierarchy (search for the selected element in its class) Write Access in project (Search for the write reference for selected elements in the project) Write Access in Working SET (write reference for searching for selected elements in Work) Write Access in Workspace (Search for the write reference for selected elements in the workspace) Source - Program Code Add Block Comment (Will Note Picking / ** / package): Ctrl Shift / Add Constructors from Superclass (Add a Subconstruction from the Parent Category) Add import (for the category reference to the category): Ctrl Shift M Add Javadoc Comment: Alt Shift J Comment Externalize Strings Externalized string) Format (program code automatic typography): Ctrl Shift F Format Element Generate Constructor Using Fields (using fields to generate constructs) Note: <- start-> Such as 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 Getter for the field And setter method) Indent line (single line): Ctrl i Mark Occurrence: Alt Shift O Organize Imports In stock): Ctrl Shift O (Note: This is a very convenient function, easy to explain the time: assume us playing in the program, JFRAME SRC; does not import any swing category, at this time Eclipse The error warning will appear, labeled JFrame with the red bottom line, and then press CTRL Shift O, Eclipse will automatically: import javax.swing.jframe; add to the program code.
Override / IMPLEMENT METHODS (Enable "overwriting / actual method" dialog, overwritten or implemented methods in the current category) Remove block Comment (remove multi-line annotation / ** /): Ctrl Shift / < Editing Java Source> Remove Occurrence Annotations: Alt Shift U Sort Members Source Quick Menu (Quick Menu for Source Displaying Source): Alt Shift S < In Windows> Surround with Try / Catch Block (Cable in Try / Catch block) Toggle Comment (plus single-line annotation / cancel single line annotation): Ctrl / or Ctrl 7 or Ctrl Shift C uncomment ◎ Supplement, Source Hide Hotkey: 1.shift Right (shifted to the right, add the current zoom level of the currently selected word line): Tab 2.shift left (left left Displacement, reduce the inhalation of the currently selected word line): Shift Tab Team - Team Synchronize (Sync) Text Editing - Text Edit CLAER MARK (Clear Tag) Copy Lines (Will Select the text, Copying a new line): Ctrl Alt arrow key '↓' Cut Line (Cut untrips) cut to beginning of line (cut text, range to the beginning of the single line) Cut to end of line ( Cut the text, the range is selected to the end of the single line) Delete line: Ctrl D delete Next Word Delete Next Word: Ctrl Delete < Editing Text> Delete Previous Delete Previous Word: Ctrl Backspace Delete to beginning of line (delete text, scope to the beginning of the single line) delete to end of line (delete text, range to the selection) DUPLICATE LINES (Select the text, copy into new row): Ctrl Alt arrow keys '↑' Insert line Above current line (insert a new line above the line at the cursor): Ctrl Shift Enter Insert Line Below Current Line (this at the cursor Insert a new line below the line): Shift Enter
LINE DOWN (Top Move) Line End (Move to the end of this line) Line Start (moved to the beginning of the line) LINE UP (Trunger Top Move) Move Lines Down (move the line of writing : Alt arrow keys '↓' Move Lines Up (move the line text up): Alt arrow keys '↑' Next Column (Cursor moving to the next List) Next Word Next List): Ctrl arrow keys '→' Page Up Page Up PREVIOUS COLUMN (Move to Previous List) Previous Word (Cursor to last) : Ctrl arrow keys '←' Scroll line down (down): Ctrl arrow keys '↓' Scroll line up (upward): Ctrl arrow keys '↑' Select Line Down Select Line End Select Line Start Select Line Up Select Line Up Select Next Column (Select Next Line) SELECT NEXT WORD (selected under selected A word group): Ctrl Shift arrow keys '→' SELECT Page Down Select Page Up Select Previous Column (selected Previous List) Select Previous Word (choose the previous one Word group): Ctrl Shift arrow key '←' select text end (selected to text editor tail) Select text start (select to the beginning of the text editor) SELECT Window End (selected to the window tail) Select Window start (selected to window start) SET MARK SWAP MARK TEXT END END (Migratory Move to Text Editor The most end) TEXT START (cursor moving to text editor Top) Toggle Overwri TE (overwriting / insert mode): INSERT to Lower Case (the English words that will be selected to lowercase): Ctrl Shift Y to Upper Case (selected English words to uppercase : Ctrl Shift x
Window End (moving the cursor to the window) WINDOW START (opening the cursor to the window) Views - Check Ant (Open ANT View Window) Bookmarks (Open Book Sign "Breakpoints (Open Breakpoint View Window) Classic Search Traditional Search View Window) CVS Annotate CVS Editors (Enable CVS Editor View Window) CVS Repositories (Enable CVS Repositories View Window) CVS Resource History (Open CVS Resource History) View window) DEBUG (ORG.ECLIPSE.JDT.DEBUG.UI.DISPLAYVIEW) ERROR log (Open Error Record Window) Expressions (Insertion) Expressions View window) Java Call Hierarchy Java Declaration (Opening Javadoc View Window) Java MEMBERS (Turn on Category Members) Java Package Explorer: Alt SHIFT Q, P Java Packages Java Projects Java Projects Java Type Hierarchy (Open Class Skill View Window): Alt Shift Q, T Java TYPES (Open Junit View Window) Memory (Open Instrument) Navigator Outline: Alt Shift Q, O PLUG-INSTENCIES PLUG-INSTRY PLUG-INS TRANCY PLUG-INS PROBLEMS (Opening Plug-INS View Window): Al T Shift Q, X Progress Properties (ORG.ECLIPSE.UI.VIEWS.PROPERTY/SHEET) Registers (Take the Inspector-Cache View window) Search: Alt Shift Q, S Synchronize: Alt Shift Q, Y Tasks (Open Job Sightseeing Window) Threads and Monitors Turn on Error-Performing Review Window) Variables (Turn on Defrontation) ◎ Supplement: VIEWS View window: window-> show view-> Other.