. NET-to-Android transformation (2)

Source: Internet
Author: User

As an IDE, its primary function is to assist, making the process of developing the program more convenient. For me accustomed to VS, when writing code in Eclipse, the first thing I feel uncomfortable is its automatic prompt function, in VS, we play a code, the hint will automatically bounce out, Eclipse needs to press alt+/ To summon the functionality of the Code hints.

Developed not accustomed to, should not only I one, so or Google, Baidu What is better, the same martyrs like me, from. NET to Android, and they have a crowd for me to come out O (∩_∩) o~.

Below I reproduced the Java Beauty blog of the Egg

Reference:

3. Setting up Eclipse is as easy as virtual studio

Generally, by default, the code hinting feature in Eclipse, MyEclipse code, is usually the point ".", which is usually a point ".", and there is a code hint. Believe that there is a C # development experience of friends, must be good for vs feeling, unusually powerful hints to amaze you, in fact, Eclipse can be set to achieve that effect, the following I will write the method:
Principle: "Auto Activation triggers for Java" This option refers to the option to trigger the code hint, to change the "." To. ABCDEFGHIJKLMNOPQRSTUVWXYZ (that is, it encounters 26 letters and a. Will prompt

1. Open myeclipse, then "window" → "Preferences"
2. Select "Java", expand, "Editor", and select "Content Assist".
3. Select "Content Assist" and see the "Auto Activation triggers for Java" option under "Auto-activation" on the right and right. Actually, it means "." is the trigger code hint. This symbol.
4. "Auto Activation triggers for Java" option in "." After the addition of ABC letters, convenient to find the following changes. Then "Apply" and click "OK".
5. Then, "File" → "Export", in the pop-up window select "Perferences", click "Next".
6. Select the export file path, I export to the desktop, enter "conf" as the file name, click "Save".
7. On the desktop, locate the file "CONF.EPF" that you just saved, and right-select "Open with Notepad."
8. You can see a lot of configuration myeclipse information
9. Press "CTRL + F" shortcut key, enter ". ABC" and click "Find Next".
10. Find the configuration information for ". ABC" .
11. Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, Close "CONF.EPF").
12. Go back to the MyEclipse interface, "file" → "Import", in the pop-up window select "Perferences", click "Next", select just in the modified "CONF.EPF" file, click "Open", click "Finish". This step is similar to the export step above.
13. Finally, of course, the code is tested. Just create a new project and create a new class. Test in code input Switch,foreach and so on. You will immediately find that the hint, and no matter which letter will have a lot of relevant hints, very smooth, very convenient.

The above from the main information extracted from the blog, but also hope that we look at this blog post, is indeed very comprehensive.

. NET-to-Android transformation (2)

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.