Eclipse Common shortcut keys

Source: Internet
Author: User

Edit shortcut key "ALT+/"Displays code hints, as well as code auto-completion features. The Ctrl+/"Add comment" Ctrl+D "Delete the current line window shortcut key" Ctrl+M "window to maximize and restore view and locate shortcut keys1. "Ctrl+k", "ctrl+shift+K "quick down and up to find the selected content, it is no longer necessary to use the mouse to click the Find dialog box." 2.. "Ctrl+j", "ctrl+shift+J "Incremental search, cool one find shortcut keys. The Ctrl+shift+T "" Ctrl+shift+R "" Ctrl+shift+G "finds references to classes, methods, and properties. This is a very useful shortcut key, for example, to modify the code that references a method, you can use the Ctrl+shift+G "Shortcut quickly locates all locations referencing this method. The Ctrl+shift+O "Quickly generate import, when copying a program from the Internet, do not know how to import into the called class, try" Ctrl+shift+O "shortcut keys, there will be surprises. The Ctrl+shift+F "Format code, write the code of the format specification is a required lesson for every programmer, when you see a piece of code very uncomfortable, select and press" Ctrl+shift+F "shortcut keys can format this code, if you do not select the code is the default format of the current file (Java file). The ALT+shift+W "finds the path in the project where the current file is located, quickly locates the location of the browser view, and is useful if you want to find a package that contains a file (especially in larger projects). The Ctrl+L "Navigates to a line in the current editor and is also valid for non-Java files. 9. "alt+←", "ALT +→ "Back history and forward history are very useful in tracking code, and users may find several related places, but it may not be clear that you can locate the order of lookups by these two shortcuts."   "F3" quickly locates a class, method, and property of the cursor position.   "F4" Displays the inheritance relationship of the class and opens the Class inheritance view.   debugging shortcut keys in Eclipse, there are some shortcuts related to running debugging. 1. "Ctrl+shift+B: Sets a breakpoint on the current line or cancels the setting. 2. "F11": Debug the Last executed program. 3. "Ctrl +F11 ": Run the program that was last executed. 4. "F5": In the trace to method, when the program executes to a method, you can press "F5" key to trace to the method. 5. "F6": Stepping through the program. 6. "F7": Executes the method, returning to the next statement that called this method. 7. "F8": Continue execution to the next breakpoint or end of the program. 8. The Ctrl +F2 ": End Debugging. 9. Ctrl +R: Jumps to the row where the mouse is located. View Toggle shortcut Keys1. "Ctrl +F6 ": Switch to the next editor. 2. "Ctrl+shift+F6 ": Switches to the previous editor. 3. "Ctrl +F7 ": Switches to the next view. 4. "Ctrl+shift+F7 ": Switches to the previous view. 5. "Ctrl +F8: Switches to the next perspective. 6. "Ctrl+shift+F8: Switches to the previous perspective. 7. "F12": Activates the editor. The Ctrl+q ": Jumps to the last edit place; "Ctrl+shift+Q: When the file is not saved, you can see your changes by the dark red flag next to the line number. The Ctrl+w ": Close the currently edited file; "Ctrl+shift+W ": Close all files that are already open" Ctrl+e ": Activates and locates a file that is currently open; "Ctrl+shift+e": and CTRL +e is the same, but a window needs to be opened. The Ctrl+r ": Unknown (?) "Ctrl+shift+R ": Open Resource (opens a resource file, such as a Java file, etc.)" Ctrl+t ": Quick view of class hierarchy relationship; "Ctrl+shift+T ": Open type (opens the specified type, such as class,interface, etc.)" Ctrl+y ": In contrast to" CTRL + Z ", cancel the previous undo operation" Ctrl+shift+x/Y "Turns the selected font all uppercase or all lowercase. The Ctrl+u ": Unknown (?) "Ctrl+shift+U ": In the current window, find the number of occurrences and the results are listed in the Search window. The Ctrl+i: Indent the current line correctly or select a row. "Ctrl+shift+I ": Inspect (Debug)" Ctrl+o ": Quickly list the outline of a class. "Ctrl+shift+O ": Automatically add or remove import statements" Ctrl+p ": Printer Window" ctrl+shift+P ": Match the beginning or end of the parentheses" Ctrl+a ": Select All. "Ctrl+shift+a": Open plug-inchArtifact "Ctrl+s ": Saves the current file. "Ctrl+shift+S ": Save all modified Files" Ctrl+d ": Deletes a row. "Ctrl+shift+D ": Unknown (? ) "Ctrl+f ": Find replacements. "Ctrl+shift+F ": Unknown (? ) "Ctrl+g ": Find declarations with the same name in workspace. "Ctrl+shift+G ": Find references in Workspace" Ctrl+h ": Find window. "Ctrl+shift+h": Open TypeinchHierarchy (opens the specified type in the Class inheritance hierarchy window) "Ctrl+j ": Forward incremental lookup. "Ctrl+shift+I ": Reverse incremental lookup (at the beginning of the document)" Ctrl+k ": Forward lookup. "Ctrl+shift+K ": Reverse lookup (at the beginning of the document)" Ctrl+l ": Jumps to the specified line. "Ctrl+shift+L ": List the shortcut keys supported by Eclipse" Shift+enter: Adds a row to the next line in the current edit row. "Ctrl+shift+Enter: Add a line to the previous line in the current edit row Ctrl+z ": Undo the previous modification operation. "Ctrl+shift+z": Unknown (?) "Ctrl+x: Cut selected text (not checked, behaves strangely). "Ctrl+shift+x": With "ctrl+shift+Y "Relative, all the selected text becomes uppercase. The Ctrl+c: Copy the selected text (not checked, the behavior is more bizarre). "Ctrl+shift+c": Comment one line (with "ctrl+/"Same" Ctrl+v ": Paste" Ctrl+shift+v ": Unknown (?) "Ctrl+b ": Build" ctrl+shift+B ": Set Breakpoints" Ctrl+n ": New" Ctrl+shift+n ": Unknown (?) "Ctrl+m ": Maximize the window and restore" Ctrl+shift+m ": Unknown (?) "Ctrl+, ": Next Annotation" ctrl+shift+, ": Unknown (?) "Ctrl+. ": Previous Annotation" ctrl+shift+. ": Unknown (?) "Ctrl+/": Comment" ctrl+shift+/": Toggle Comment Edit shortcut key: (very important, code%work here and on jumps between files) Ctrl+ Left/right: Cursor skips a CTRL+ Up/Next: Scroll through the screen, navigate through the code CTRL+ home/end: Jumps to the beginning or end of the file shift+ Left/right: Select shift in alphabetic units+ Up/bottom: Select text Ctrl+ SHIFT + Left/right: Select Ctrl as a word+ SHIFT + up/down: On the function unit/Next Jump Alt+ Left/right: Switch between the closest browsing places. Alt+ Up/down: Move the cursor line up/Move Ctrl down+ ALT + up/Next: Copy a row and move it (there is a conflict on Ubuntu). CTRL+ Q: Skip to last Edit

Eclipse Common shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.