Eclipse or MyEclipse frequently used shortcut key combinations

Source: Internet
Author: User

Eclipse is an open-source, Java-based, extensible development platform that, by itself, is just a framework and a set of services for building a development environment through plug-in components. There are many shortcut key combinations that are easy to develop in Eclipse (MyEclipse), which saves time and improves development efficiency. This article introduces some commonly used personal thought useful and practical shortcut combination, which makes it easier for developers to browse the source code or personal writing code, so that the overall development efficiency code quality is improved.

1. Ctrl+shift+r Open Resources
This group of shortcut keys can open any file in the project, and I just press the file name or the name of the mask in alphabetical order to enter the corresponding file or in the content of a keyword and then press the shortcut key also can be, for example: Customerauthent*.java. However, only files written by individuals in the project can be displayed, and files like *.jar cannot be displayed.

2, Ctrl+o fast Outline Open class file method
If you want to see the methods of the current class or a particular method, use this combination shortcut to list all the methods and properties in the current class, just enter the method name or property you want to query, and enter enter to jump directly to the corresponding location.

3. alt+shift+r File Rename
Use this key combination to move the mouse to the property name or method name selected, press Alt+shift+r, enter a new name and click Enter. If renaming is for a property in a class, the get and set methods are automatically renamed by pressing the key combination alt+shift+r two call Out Source Processing dialog box.

4. Ctrl+e: Fast Conversion editor
This group of shortcuts will help you switch between browsing when there are multiple windows between the open editors. Use ctrl+page down or ctrl+page up to browse the tabs before and after, and ctrl+e will be more efficient if many files are open at the same time.

5. ALT + Direction key
This combination shortcut can move the contents of the current line up or down, or select any contiguous row to move up or down. In the Try/catch exception handling section particularly good, I recommend the use.


6, Shift+enter
This combination shortcut can create a blank line after the current row, regardless of whether the cursor is at the end of the line.

7, Ctrl+shift+enter
This combination shortcut can create a blank row before the current line, regardless of whether the cursor is in front of the row.

8, Ctrl+m
This combination shortcut maximizes the display screen, increasing the visibility of your code and the efficiency of your work.

9, ctrl+1 Rapid Modification error
This combination of shortcuts can improve the efficiency of code writing by providing a quick fix for the problem.


10, Ctrl+shitf+a
This key combination is the Eclipse's column editing function, only need to enter the column edit mode through the shortcut key Alt+shift+a, after the modification is complete, then alt+shift+a exit column edit mode once. If you want to indent a piece of code, simply select the code block by pressing TAB (Shift+tab the Indent tab of the code to increase the number of spaces), and if you want to add a string directly to the front of each line, you'll find a lot of insertions.

11, Ctrl+shift+l
This combination shortcut can view all shortcut key combination commands. Eclipse or MyEclipse frequently used shortcut key combinations

Source: http://www.yoodb.com/article/view/ff8080814a916910014a9938878c001a

Eclipse or MyEclipse frequently used shortcut key combinations

Related Article

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.