Common setting methods for MyEclipse

Source: Internet
Author: User

Common setting methods for MyEclipse

 

MyEclipse, as a plug-in of Eclipse, quickly became "popular" and is the preferred IDE for developing J2EE projects for enterprises today.

I used MyEclipse soon, but I had a deep affection for MyEclipse in the recent period. I love Eclipse as much as I love Java. For the use of MyEclipse, I have summarized some common settings.

1. Modify the prompt shortcut:

Window-> Preferences-> General-> Keys enter Content in the type filter text column and select Content Assist. If there is a shortcut key (not a shortcut key you are used to), click Remove Binding, then, enter the shortcut key you used in the Binding column. Here I set Alt + /.

2. Configure the Tomcat server:

Window-> Preferences-> Servers-> Tomcat 6.x select Enable under the Tomcat server column and specify the Tomcat installation directory. Expand Tomcat 6. x directory-> JDK to specify the JRE version.

3. Import a Web Project:

File-> Import-> Existing Projects into Workspace-> Next-> select project path-> Finish

4. Export a Web Project:

File-> Export-> J2EE-> select Export type-> Next-> select a Web project and specify the Export path and File name-> Finish.

5. Change the default view and code displayed on the JSP page to full code:

Window-> Preferences-> General-> Editors-> File Associations select *. jsp in File types on the right, select MyEclipse JSP Editor in the Associations editors column, and click Default-> OK.

6. Change the default encoding ISO-8859-1 for the JSP page to UTF-8 so that it can support Chinese characters on the page:

MyEclipse-> Perferences-> MyEclipse-> Files and Editor-> JSP select Encoding on the right, then select ISO 10646/Unicode (UTF-8), and click OK.

7. Common shortcut keys:

Ctrl + Shift + C select some code comments and uncomments

Ctrl + Shift + F format the code

Hehe, there is also a smart awareness of code, there are a lot of searches on the network. However, I think it is better for beginners to write their own code. I will not introduce it here.

 

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.