★ 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 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 when reconstructed.) Public class test {public static final int Test = 10; public static void main (string [] args) {int x = Ten }}} Note: <- END-> Extract Interface (Captured 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 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 To 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
Use supertype where possible dialog box.) ◎ Supplementary naming rules: (Reconstructing this rule when naming this rule, Eclipse will warn, although you can not warn, but 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 (the word line will be annotated / ** / 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-> As shown in the following program code, select the field name Money and passed through the generate constructor using fields ... public class test {int Money; public static void main (string [] args) {}} will become the following program: public class test {Int Money; {this.money = Money;} public static void main (string [] args) {}} Note: <- end-> generate delegate methods (open "production The Delegation Method for the Life Committee, the delegation method for the new type field) Generate getters and setters (Enable the "Getter and Setter" dialog box, you can automatically establish a getter and setter method for the field (single line shrink, which 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, and it is easy to explain how to use: 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 to mark JFrame At this time, simply 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.