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.