Android Eclipse is fully automated, and you don't have to press alt+/.

Source: Internet
Author: User

Opening the Eclipse-> Window-> perferences opens a Perferences settings interface.
The simplest way to modify it is: Windows-->preferences-->java-->editor-->content Asist, in auto activation triggers for There is only one "." In the text box behind Java.
will see only one "." Exist. Says: Only the input "." Then there's the code hint, and here's where we're going to change, but eclipse defaults to only allow 4 custom characters to be entered.
However, we can export the current settings, save it as a file, modify it in the file, and then import the settings so that we can break through eclipse's limitations.
First, put the "." in the picture above. Place a few casual characters, such as "ASDF", and click "OK" at the bottom to save the settings.
Then open Eclipse's File-> Export and expand the general-> in the window Perferences-->export
All then click NEXT. Then click Browse to select any path, save the configuration file, and click Finish.
With Notepad, open the configuration file that you just saved (extended file name: *.EPF), press CTRL +
F ", enter the" ASDF "you just set up and find the string. Change "asdf" to "abcdefghijklmnopqrstuvwxyz.", then save and exit Notepad.
Open Eclipse's File-> Import and expand the general-> in the open window
Perferences, click Next to select the configuration file that you just modified, Finish. Now, open window-> again.
Perferences, and expand the Java-> Editor-> Content in turn
Assist, you'll find that it's over 4 characters, which means we enter any letters and "." will have code hints.
After the modification, the default is that you enter a character 200 milliseconds after the code prompts, if the input is very card, you need to increase the delay; If you think it's too slow, you can change it to a smaller number, but the smaller the number, the higher the system performance requirements, and I set it at 50 milliseconds. Now, is eclipse even more handy?

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.