MyEclipse shortcut key Code

Source: Internet
Author: User
Tags delete key switches

Copy Source Baidu Library
Http://wenku.baidu.com/link?url=2DLLTMdq4q_ zrk1zqg34elzdepslc3qfkxi7p2et7no-g7jerrys4dl8dbtr-5hdgq1mrqsyjpwb47ekgwgnaybphdqbvi08xa7yhti7l3e

MyEclipse shortcut key code. Txtcopy (copy) Other people's personality signature, not called plagiarism, not call no idea, but it is feeling right. The same thing that happened.1. "alt+/"This shortcut is a good helper for users to edit, to provide users with content assistance, do not worry about the method and the name of the property, when not the whole class, methods and properties of the name, more experience" ALT+/"The benefits of shortcut keys. 2. "Ctrl +O "shows an outline of methods and properties in a class that quickly locates the methods and properties of a class and is useful for finding bugs. 3. "ctrl+/"Quickly add comments, you can quickly add comments or uncomment the line or selected line of the cursor, you may always need to annotate something or uncomment it when debugging, and now it's okay to repeat the comments for each line." 4. "Ctrl +D "Delete the current line, which is also the author's favorite one, do not have to delete a row and press so many times the delete key. 5. "Ctrl +M "window maximization and restore, when the user in the window to operate, always feel that the current window is small (especially when writing code), now OK, try" Ctrl+M "shortcut key. View and locate shortcut keys in the program, quickly locate the location of the code, quickly find the place where the bug is very difficult, Eclipse provides a powerful search function, you can use the following shortcut keys to help complete the job of locating. 1. "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+shift+T Find a Java class file in the Find workspace (Workspace) build path, do not suffer from the discovery of classes, and you can use the*","? "And so on wildcard characters. 3. "Ctrl+shift+R "and" Ctrl+shift+T "corresponds to find all files in the workspace (Workspace), including Java files, or you can use wildcard characters. 4. "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. 5. "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. 6. "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). 7. "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). 8. "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. One  
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. Common editor shortcuts often the text editor provides some shortcut keys for editing, as well as text editing in Eclipse. 1. "Ctrl +C ": Copy. 2. "Ctrl +X ": Cut. 3. "Ctrl +V ": Paste. 4. "Ctrl +S ": Save the file. 5. "Ctrl +Z ": Undo. 6. "Ctrl +Y ": Repeat. 7. "Ctrl +F ": Find. Other shortcut keys in Eclipse there are many shortcut keys that cannot be enumerated, and users can find out how to use them through the Help document, as well as several common shortcut keys as follows. 1. "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. --------------------------------------------------------------------------------------------
Eclipse FAQ: 1. How do I create a shortcut to eclipse? Right-click on the desktop to select New Launcher, fill in the Name and command path (i.e./opt/eclipse/eclipse).
2. How do I display line numbers?Answer: Select Window->preferences, then select General->editors->Text Editors, tick the show line numbers option3How can I change the Java source file font size?Answer: Select Window->preferences, then select General->appearance->colors and Fonts->java->the Java Editor Text font then selects the Change button to alter the font size.4How do I get rid of auto-generated annotations?Answer: Select Window->preferences, then select Java->code style->code Templates, select the contents of the comments and code options, click the Edit button and delete the default comment.5Why is the file you just copied not displayed immediately?A : You need to right-click on the directory you have just updated, then choose Refresh, refresh the directory to display.6. Eclipse Common shortcut keys: Ctrl+Enter: Skip to the beginning of the next line alt+shift+x+J: Run the current program Ctrl+F11: Run the last compiled program shift+ctrl+F: Format code shift+ctrl+X: Shift the selected character to uppercase+ctrl+Y: Converts the selected character to lowercase ctrl+1: Quickly locate error handling CTRL+M: Quickly maximize the current view Alt+shift+S: Quick display source option Alt+/: Code Comment CTRL+/: Code comment/Uncomment Ctrl+D: Delete the line where the cursor is located Ctrl+Mouse hover: can display the source code of classes and methods Ctrl+shift+S: Save all this article from Csdn Blog, reproduced please indicate the source: http://blog.csdn.net/xianfeng1988/archive/2009/12/02/4922418.asp

MyEclipse shortcut key Code

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.