Automatic prompt setting for writing code in eclipse (prompts like)

Source: Internet
Author: User

Reference: http://blog.163.com/zhengjiu_520/blog/static/3559830620118157419374/

The settings are as follows:

OpenEclipse-> window-> perferencesTo open the perferences setting page.

 

OpenEditorTab to find auto activation triggers for Java.Only one "." exists. Indicates that only "." Is input.CodeNote: here we want to modify it. By default, Eclipse only allows the input of four custom characters.

 

However, you can export the current settings, save them as a file, modify the settings in the file, and then import the settings to break through the eclipse restrictions.

Enter a few casual characters in ".", such as "ASDF" (useful later), and click "OK" at the bottom to save the settings.

 

Then openEclipse file-> Export

Expand in windowGeneral-> perferencesClick Next.

 

Click "Browse" to select any path, save the configuration file, and click "finish ".

 

Use NotePad to open the saved configuration file (extension file name: *. EPF), press "Ctrl + F", enter the set "ASDF", and find the string. Change "ASDF" to"Abcdefghijklmnopqrstuvwxyz.", Then save and exit notepad.

Open the eclipseFile-> ImportThen expand in the window that opensGeneral-> perferencesClick Next, select the modified configuration file, and finish.

 

now, open window-> perferences, expand JAVA-> Editor-> content assist in sequence, and you will find that there are more than four characters, that is, we enter any letter and ". "There will be code prompts.

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.