Content assist)

Source: Internet
Author: User

When using eclipse, intelligent sensing is the most convenient feature. However, I do not like this phrase very much. It sounds like it has something to do with the fifth generation of computers and smart robots. In fact, the intelligent perception mentioned here is that when we use IDE, it will analyze our input content and give the content we may enter next. Then, a selectable list is provided. we can select the method to complete the following input. This function has at least three advantages:

1. If you are not familiar with APIs, you can use them to find the required methods or classes. (Even people familiar with APIs cannot remember every name .)

2. Fast writingCodeThe speed of selection is always faster than that of typing (for non-Professional Typing people like me)

3. Improve the one-time success rate. Without it, it is difficult for us to ensure correct spelling (althoughProgramPersonnel, this is the basic quality, but today's programmers are much more than the code they create, working overtime is much more, and there is little mood for spelling, so they are all handed over to ide for it .)

There are several ways to stimulate eclipse's smart awareness,

1. Enter a space. Enter a space when the space is entered (for example, after the New Keyword ).

2. Enter a carriage return. Enter a carriage return when entering the carriage return parameter (for example, after braces ).

3. Enter dot (.), and enter dot (for example, after the Object Name) when entering dot ).

4. Use content assist at any time.

Content assist is triggered by custom key combinations. The default value is Ctrl + space. This combination key is best used. However, our input method often occupies it, so it is often invalid in eclipse Ctrl + space. In this case, you can use Alt + /. The results are the same. However, ALT +/is not easy to use. We can modify it by ourselves.

 

Place the cursor in the binding box and delete the content first. If you want to replace the generated key, press the key. It's silly. I think Ctrl + Shift + space is good. Try it.

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.