★ Eclipse 3.0 RC2 hotkey table (Zhong Ying's Confidentiality version, default) ★ Author: sungo date: 2004/06/16 (3) ◎ Reading instructions: colon (:) Blue label heat button for Eclipse presets Standard hotkey, blank means that Eclipse does not have a hotkey for the project; the red label option represents a common or important hotkey; Teal Color Number Options indicate the range of the hotkey. ◎ 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. ◎ Give all the friends who are watching this article: T55555 In order to take DG2 anniversary, in order to effect his spirit, I decided to contribute my first time, join JavaWorld for the first time for the first time. Have such a long article ... XD. Originally intended 3.0 Release, finishing the hotkey table, but the 3.0 RC series architecture has tended smoothly. Release does not change much, so it will be sorted out. The functions listed in the hotkey table, as long as you have all actually operated over, it will bring you a great help on your operational Eclipse.
-------------------------------------------------- -------------------------------------------------- -------- 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 Opening / Off): Ctrl Shift Q Quick Fix (Quick Kit Correction): Ctrl 1 <
Editing Java Source> Redo (Reduction Previous Job): Ctrl Y Restore Last Selection: Alt Shift Direction Key '↓' Revert to Saved (Reply to Save) Select All: Ctrl a SELECT Enclosing Element: (Selected Elements) Alt Shift Direction Key '↑' SELECT NEXT ELEMENT (selected next element : Alt Shift Direction Key '→' SELECT Previous Element: Alt Shift Direction Key '←' Shift Left (Move the line to left to move a zoom SHIFT RIGHT (moving the line to the right) Show tooltip description (Tool Tips for Cursor Location Display Elements): F2 System Encoding (Class Change Change to System Coding) Toggle Folding Program code folding, expansion feature on / off): Ctrl keyboard right Digital zone '/' Toggle Insert Model (Smart Insert mode Turn on / Off): Ctrl Shift Insert undo APRL Z US ASCII ENCODING UTF-16BE ENCODING UTF-16 Encoding (Code Change to UTF-16) UTF- 16LE ENCODING UTF-8 Encoding UTF-8 ENCODING (UTF-8) File - Archive CLOSE: Ctrl W or Ctrl F4 Close All (Close All Archives : CTR L SHIFT W or CTRL SHIFT F4 EXIT (Close Screen Last Layer Window): Alt F4 (Note: 3.0rc2 does not preset this set of hot keys, but still use.
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 (moving to the previous Member): Ctrl Shift Direction button '↑' Go to resource "Go to Type (moving to the category, used for package explorer) Last Edit LoAction (moved to the previous time) Edit 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 (Building a Project) Close Project (Close Project) Generate Javadoc (generating javadoc) Open PRO JECT (ORG.ECLIPSE.UI.PROject.properties) Rebuild All (Re-establish Project) Rebuild Project Repeat Working Set Build (Recipurement) The set item) (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;}} will become the following program code: (constant field name, can be freely set when reconstructed.) Public class test {public static final int Test = 10; Public Static Void Main () PUBLIC String [] args) {int x = ten;}} Note: <- end-> extract interface (captured interface: Picking the method within the original category into the new interface, the original category will act on the interface) ( Note: The new interface will store a new * .java file. If this function is executed in Interface, the old interface will inherit the new interface.
EXTRACT LOCAL VARIABLE (captured zone variable: capturing numbers into new area variables): Alt Shift L Extract method (Capture Method: Picking the selected representation into a new method : Alt Shift M Generalize Type (Category Category Changes of Reference) Inline (included in constant, zone variable, or method): Alt Shift i Introduce Factory Using a proxy: Using the method to get the constructive) Note: <- start-> Reconstructing the test schematically after the program code 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);}} will become the following program: 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 codest (int x) {return new test (x);} } Note: <- end-> Introduce Parameter (using parameters: Transfer zone variables) Note: <- start-> Refactoring the number 5 after INTRODUCE PARAMETER ... PUBLIC CLASS TEST {PUBLIC Static void main (string [] args) {int x = 5;}} will become the following program: public class test {public static void main (string [] args, int FIVE) {Int x = file;}} Note : <- End-> Move Member Type T o New file (move the category member to a new file) Move - Refactoring (Mobile - Reconstruction: Move the selected element to the new location): Alt Shift V Pull Up (Will Category Members Refactor Quick Menu (Quick Menu in Editing Zone Display Reconstruction): Alt Shift T Rename - Refactoring (Rename - Refactoring: Rename the elements selected , Category name, regional variable name, etc. ...): Alt Shift R undo - Refactoring (Recovery - Reconstruction: Reconstruction of the previous time): Alt Shift Z <
In Windows> UserType WHERE POSIBLE (Starting the Parent Category "Refact dialog box.) ◎ Supplementary naming rules: (Reconstructing the rules when this rule is named, Eclipse will warn, although you can no matter what warning, but this It 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 active of the selected interface) Implementors in working set (the actor who searches for the selected interface in the work) IMP LEMENTORS IN WORKSPACE (Search for the active in the workspace) Occurrences in file (all the appearances of selected elements in its declaration): 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 to search for selected elements in the project) References in working set (Reference to search for selected elements 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 the selected element 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 the selected element in the workspace) Source - Program code Add block Comment (more words in the selected) Row Note / ** / Package): Ctrl Shift / Add Constructors from Superclass (Add a Construction 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 (Open "External Strings" Elf) Find Strings To Externalize Find a string to be externalized) Format (program code automatic typography): Ctrl Shift F Format Element Generate Constructor Using Fields (using fields to generate a construct) Note: <- Start -> As shown in the following program code, select the field name Money and passed through the generate constructor using fields instruction ... public class test {int Money; public static void main (string [] args) {}} will become the following program code: public Class test {Int Money; public test (int money) {this.money = Money;} public static void main (string [] args) {}} Note: <- end-> generate delegate Meth ODS (Enable the "Generation 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 the field (single line shrink Row, it will follow the format set by formatter): Ctrl i Mark Occurrence: Alt Shift O Organize Imports: CTRL Shift O (Note: This is a very convenient function, easy to explain the time: Suppose we play in the program, JFrame SRC; do not import any swing category, at this time, Eclipse will have an error warning, with the red bottom line Proven JFRAME, as long as Ctrl Shift O is pressed, 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, starting to single line) DELETE TO End of Line (Delete text, range is selected) DUPLICATE LINES (selected text, copy into new line : Ctrl Alt arrow key '↑' Insert line Above current line (insert a new line above this line at the cursor): Ctrl Shift Enter Insert Line Below Current Line (at the cursor The row is inserted into the new 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 (Code Move to Text Editor The bottom) Text Start (Cursor Move to Text Editor Top) Toggle Over Write (overwriting / insert mode): INSERT To Lower Case (the English word selected to be lower): 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-IN DEPENDENCIES PLUG-INSTRY PLUG-INS (Open Plug-INS View window) PROBLEMS (Open Problem View Window): a LT SHIFT Q, X Progress (ORG.ECLIPSE.UI.VIEWS.PROPERTY/SHEET) Registers (Top Defrigeration-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.