Eclipse Auto-Complete + common shortcut keys

Source: Internet
Author: User

One, eclipse auto-complement enhancement method

In eclipse, from Content Assist, preferences, Editor, Windows---------auto-activation, we can After adding the first subtitles we need to automatically prompt, such as "ABC", you can add all 26 letters to the case

. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz_

Second, common shortcut keys

(1) Ctrl+space
Description: Content Assistant. Provides hints for methods, variables, parameters, Javadoc, etc.
Should be shipped in a variety of occasions, in short need to prompt the time you can press this shortcut key.
Note: Avoid the switch settings in the Input method conflict with this setting

(2) Ctrl+shift+space
Description: Variable hints
(3) ctrl+/
Description: Add/Remove//comment, in eclipse2.0, remove comment as ctrl+\

(4) ctrl+shift+/
Description: Add/* */Comment

(5) Ctrl+shift+\
Description: Remove/* */Comment

(6) Ctrl+shift+f
Description: Automatic Formatting code

(7) Ctrl+1
Description: Bulk modification of variable names in source code, also available on catch blocks.

(8) Ctril+f6
Description: Interface switch

(9) Ctril+shift+m
Description: Find the package you need

(10) Ctril+shift+o
Description: Automatically introduces the required packages

Eclipse Auto-Complete + common shortcut keys

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.