Using shortcuts in Eclipse:

xiaoxiao2021-03-06  51

Using shortcuts in 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 (copy right) COPY from Right to Left Right to left) Select Next change (enter the next change) SELECT Previous Change CVS - Concurrent Versions System Checkout from CVS (Check of CVS) Edit - Edit Add Bookmark (new bookmark Add Task Collapse: Ctrl Keyboard Right Digital Area '-' Content Assist (Content Auxiliary - Code Templetes Startup): Alt / or Ctrl Space Context Information (Content 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 Selected Text): Delete Expand: Ctrl Keyboard Right Digital Area ' ' Expand All (Mode Code All Expand): Ctrl Keyboard Right Digital Area '*' 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 Fix): Ctrl 1 Redo (Redo the last job): Ctrl Y Restore Last Selection (restore final pick): Alt Shift

Direction key '' Revert to saved (Reply to the stored) SELECT ALL: Ctrl a SELECT Enclosing Element: (Select Elements) Alt Shift Direction Key '↑' Select Next Element: Alt Shift Direction Key '→' SELECT Previous Element: Alt Shift Direction button '← ' Shift Left (move the line to the left) Shift Right (moving the row to the right) Show Tooltip Description (Tool Tips for the Cursor Location Display Element): F2 System Encoding (Class Change to System Coding) Toggle Folding (Mode Code Folding, Expand Fault On / Off): Ctrl Keyboard Right Digital District '/' Toggle Insert Model Open / Off): Ctrl Shift Insert Undo (Restore Procedure): Ctrl Z US ASCII ENCODING UTF-16BE ENCODING (Code Change to UTF- 16BE) UTF-16 Encoding (changed to UTF-16) UTF-16LE ENCODING UTF-8 Encoding (UTF-8 Classification is UTF-8) File - Archive CLOSE (Off): 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 still be used.

EXPORT (Open Refill Menu) Move (Mobile Profile) NEW (Open Archive Establishing Wizard): Ctrl N New Menu (Display File-> New menu): Alt Shift N Open External File Open Workspace (Open Workspace Settings Windows) Print (Print): Ctrl P Properties (Org.eclipse.ui.File.Properties) (Display file content): Alt Enter Refresh (rearrange): F5 Rename: F2 Revert (Reply to Save) Save (storage): Ctrl S Save All: Ctrl Shift S Save AS (Save New) Help - Description About (Turn on the Dialog) Help Contents Tips and Tricks (Open Tips and Skills Description Page) WECLOME (Open Welcome Page) NaviGate - Navigate Backward Backward History (moving backwards in the editor navigation): Alt arrow kerkens '←' 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 arc): 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 Move to the last Member): Ctrl Shift arrow key '↑' 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 Left button ") Open External Javadoc: SHIFT F2 Open Resource: Ctrl Shift R Open Structure (Structure of the selected element): Ctrl F3 < Editing Java Source> Open Super Implementation (on the actuated in the super type) Open Type: Ctrl Shift T Open Type Hierarchy (Open Class Show Windows): F4 Open Type In Hierarchy (open category in the Category Class): Ctrl Shift H Previous (moving to the previous indicator element): Ctrl , (Note: Element type can be poured by Toolbar's previous annotation Image Set.) Quick Hierarchy (in a floating mode): Ctrl T Quick Outline (in floats): CTRL O < Editing Java Source> Show In Menu (Display Options available for the current show in function table): Alt Shift W show in package explorer (display selected element in the Suite Browser) UP (Top 1) Project - Project BUILD ALL (Built All Projects): Ctrl B Build Clean BUILD Project (Estandment) Close Project (Off Project) Generate Javadoc (Production Javadoc) Open Project ) Properties (ORG.ECLIPSE.UI.PROject.properties) Rebuild All (re-establish all items) Rebuild Project (Re-establishment) Repeat Working SET Build (Distribution 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 a field): Alt Shift F Encapsulate Field (Capture Bar: Setting your getting and setting methods for the field, and only use these methods to access the field) Extract constant Make a constant: take the number to the new Static field and use the new Static field) Note: <- start-> Reconstructing the number 10 after the extract constant Reconstruction Digital 10 after ... public class test {public Static void main (string [] args) {int x = 10;}}

It will become the following 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 interface: Picking the method in the original category into the new interface, the original category will actually actuatize) (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 to zone variable: Captify the number to new area variables): 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, Region variable or method): Alt Shift I Introduce Factory (adopting a proxy: Method for acquiring the construction) Note: <- start-> The following segment code reconstructs the TEST construction of the TEST.. .

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 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 segment code passes via Introduce Parameter Refactoring the number 5 after ...

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

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 to the parent category of the category to the category) PUSH DOWN (Pushing the category member (field and method) to the subcategory of the category) Redo - Refactoring - Reconstruction: Reconfiguration of the previous period): Alt Shift Y Refactor Quick Menu (Reconstructive Fast Menu in Editing Zone): Alt Shift T Rename - Refactoring (Reconstruction: Re-naming the elements selected, category name, region variable name, etc ...): Alt Shift R undo - refactoring (recovery - reconstruction: reconstruction of recovery : Alt Shift Z Use Supertype WHERE POSIBLE (Starting "Parent Category" Refact dialog box.) ◎ Supplementary naming rules: (Eclipse will be warned when you rename this rule Although it is a good style, this is a good style.) 1. Interface Name: At the beginning. 2. Regional variable (Local variable) Name: Stagnation lowercase. 3. The name of the PUBLIC Static Final INT ...): All uppercase. Run / Debug - Execute / Deactive Add Class Load Breakpoint (Add a Category Load Interrupt Point)) Add Java Exception Breakpoint (Add a Java Abnormal Status Disclosure) Debug ... Debug LaSt Launched (Include Mode ": F11 Display (Org.eclipse.jdt.debug.ui.commands.display) (Show): Ctrl Shift D Note: This instruction uses the "Display" inspection screen when the intent is suspended, and the result of the selected representation is assessed under the environment definition of the stacking box or variable of the execution.) Execute (execution: Open execution start configuration Dialog: Ctrl U Inspect (observation): Ctrl Shift i (Note: This instruction uses the "Representation" inspection screen when it is suspended, displayed in this execution Under the environment definition of stacking boxes or variables, 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 Performed before) run to line, can be suspended without setting interrupt points): Ctrl R Skip all breakpoints (without cleaning the interrupt point) Under, all interrupt points are skipped) STEP INTO: F5 Step INTO Selection: Ctrl F5 Step over ( Skip subprogram): F6 Step Return (Subject): F7 SUSPEND (Pause Out) Terminate TOGGLE BREAKPOINT (new / removed, interrupt point): Ctrl Shift B Toggle Method Breakpoint (New / Remove, Method Interrupt Point) Toggle Step Filters: SHIFT F5 Toggle WatchPoint (New / Remove, Boot Surveillance point) Search - Search Declaration in Hierarchy (Declaration of selected elements in its class) Declaration in project (Declaration 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 Search page of the Search Dialog) IMPLEMENTORS IN Project Search for the actuals of selected interfaces) Implementors in working set (Search for the actors of the selected interface) IMP LEMENTORS IN WORKSPACE (Searching 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 (reading reference for the selected element) 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 the selected element in a 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 (write reference for searching 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 the selected element in the workspace) Source - Pan code Add Block Comment Understand / ** / 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 Stylist" Elf) Find Strings To EXTERNALIZE Find a string to be externalized) Format (Code Auto Typography): Ctrl Shift F Format Element (Format Element) Generate Constructor Using Fields (using the field to generate a construct) Note: <- Start-> Section 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 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 of the new type field) Generate getters and setters (Enable the "Getter and Setter" dialog box, you can automate the field Establishing getter and setter method) Indent Line (single line rearrangement): Ctrl i Mark Occurrence: Alt Shift O Organize Imports Organizational Import): Ctrl Shift O (Note: This is a very convenient function, 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, labeled JFRAME with the red bottom line, as long as the 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 / ** /): Ctrl Shift / < Editing Java Source> Remove Occurrence Annotations: Alt Shift U Sort Members Source Quick Menu (Quick Function Table): Alt Shift S Surround with try / catch block Cover Selected text) Toggle Comment (plus single-line note / cancel single line note): Ctrl / or Ctrl 7 or Ctrl Shift C Uncomment ◎ Supplement, Source Hide Hot Key: 1.shift Right (shift to the right, increase the current zoom level of the currently selected word line): Tab 2.shift Left Left shift, reduce the inhalation level of the currently selected word line): SHIFT TAB Team - Team Synchronize (Sync) Text Editing - Text Edit CLAER MARK (Clear Tag) Copy Lines Copying into a new row): Ctrl Alt arrow keys '↓' Cut Line (cut single line text) Cut to beginning of line (cut the text, the scope is the beginning of the single line) Cut to end of line (Cut the text, range is selected) delete line (delete single line text): Ctrl D delete Next Word Delete Next Word: Ctrl Delete Delete Previous Delete Previous Word: Ctrl Backspace delete to beginning of line (delete text, range to the start of the single line) delete to end of line (delete text, range to a single line) DUPLICATE LINES (Select the text, copy into new row) : Ctrl Alt arrow key '↑' Insert Line Above Current Line (insert a new line above this line): Ctrl Shift Enter Insert Line Below Current Line (at the cursor Insert a new line below this 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 List): Ctrl Shift arrow key '←' SELECT TEXT END (selected to text editor tail) SELECT TEXT START (select to text editor start) SELECT Window End (selected to the end of the window) SELECT Window start (selected to window opening) Set Mark (setting tag) SWAP MARK TEXT END END (Move to text editor The bottom) TEXT START (Trusted to the top of the text editor 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 a cursor to the end of the window) Views - Check Ant (Open ANT View Window) Bookmarks (Open Book Checkout Video) BREAKPOINTS (Open Interrupt Point View Window) Classic Search Traditional Search View "Cvs Annotate (Open CVS Annotate View Window) CVS Editors CVS Repositories (Open CVS Repositories) CVS Resource History (open CVS Resource History) CVS Reposit History Viewing Window) DEBUG (ORG.Eclipse.jdt.debug.ui.DisplayView) (Open Insperse - Display View Window) Error Log (Open Error Record View Window) Expressions Java Call Hierarchy Java Declaration Java Dechannel, Java Decoco, Java MEMBERS (open Category Members) Java Package Explorer (Open Suite Browser): Alt SHIFT Q, P Java Packages (Take a Java Suite View Window) Java Projects (Open Java Project View) Java Type Hierarchy (Open Class Skill View Window): Alt Shift Q, T Java TYPES (Open Junit Review Window) Memory (Opening Insperse - Memory View Window) Navigator Outline: Alt Shift Q, O Plug-in Dependencies PLUG-INSTRY PLUG-INSTRY PLUG-INS (Open Plug-INS View Window) Problems: Alt Shift Q, X Progress (ORG.ECLIPSE.UI.VIEWS.PROPERTY/SHEET) Registers (Inserting the Defrigeration) Review Window Search: Alt Shift Q, S Synchronize: Alt Shift Q, Y Tasks (Open Job Video Window) Threads and Monitors (Turn on the error - Performing Review Window) Variables (Turn on Error - Variable View Window) ◎ Supplement: Views Viewing the Window: Window-> show view-> Other.

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

New Post(0)