MyEclipse2013 common settings rather than optimization

Source: Internet
Author: User
Tags win32 glassfish jboss

MyEclipse2013 common settings and its optimization

1: Color Setting-adjusts to light green for reading:

(1) Window->preferences->general->editors->text editors->
A.backgroudcolors background color set to RGB (204,232,207)
B.current linehighlight Current Row highlight color RGB (162,215,167)
(2) Window->preferences->general->editors->texteditors->annotations
A.occurrences highlight Assist (145,208,151)
B.write occurrences variable name highlighting assistant (145,208,151)

2: Cancel auto validation

Validation have a bunch, what XML, JSP, JSF, JS and so on, we do not have to go to the automatic check, but only when necessary to manually check!

Cancellation Method:
Windows–>perferences–>myeclipse–>validation
Except for the Manual check box below all selected, all others are not selected
Manual Verification Method:
On the file that you want to verify, right-click –>myeclipse–>run validation

3. Cancel Eclipse spell Check

1, spell check will bring us a lot of trouble, our method name will be the abbreviation of the word, he will also suggest mistakes, so it is best to remove, not much use

Windows–>perferences–>general–> Editors->text editors->spelling

4 , Step three: Cancel MyEclipse the startup item

MyEclipse will have a lot of startup items, many of which we do not need, or only one or two, to cancel the previous unused can

Windows–>perferences–>general–>startup and shutdown

Turn off the useless startup item:
WTP: A thing similar to MyEclipse, the main difference is that the WTP is free, if you use MyEclipse, this can be canceled
Mylyn: Team task management tools, similar to CVS, manage project progress in a task-based organization, which can be canceled
Derby: A database saved as a jar, I didn't use it, I canceled it.
A large row of MyEclipse Easie start items: MyEclipse supported servers, only choose their own, other cancellations, such as I chose only tomcat6.x

Here is an explanation of MyEclipse's Startup items:

Automatic updates Scheduler//auto-upgrade Schedule MyEclipse Quicksetup//Quick Start MyEclipse Derby//derby is the name of an open source database MyEclipse Easie Geronimo 1//From Geronimo to WebSphere is the name of the application server MyEclipse Easie Geronimo 2 myeclipse easie jboss 2 myeclipse easie JBoss 3 Mye Clipse Easie JBoss 4 myeclipse easie jboss 5 myeclipse easie jboss myeclipse easie Jetty 4 myeclipse easie Jetty 5 myeclip Se easie Jetty 6 myeclipse easie Jetty myeclipse easie JOnAS 3 myeclipse easie JOnAS 4 myeclipse easie JOnAS myeclipse EAS IE JRun 4 myeclipse easie JRun myeclipse Easie Oracle Ten as MyEclipse Easie Oracle 9 as MyEclipse Easie Oracle as Myeclips E easie Orion 1 MyEclipse easie Orion 2 myeclipse easie Resin 2 myeclipse easie Resin 3 myeclipse easie Resin myeclipse EA SIE Sun 8.x myeclipse Easie Sun 8 myeclipse Easie Sun 9 myeclipse easie Glassfish 2 myeclipse easie Glassfish 1 myeclipse Easie Sun one MyEclipse easie myeclipse Tomcat 6 Server myeclipse Easie Tomcat 4 myeclipse easie Tomcat 5 MyEclipse Easie Tomcat 6 MyEclipse Easie Tomcat MYeclipse Easie WebLogic myeclipse easie WebLogic 6 myeclipse easie WebLogic 7 myeclipse easie WebLogic 8 myeclipse EASI E WebLogic 9 myeclipse easie WebLogic myeclipse easie WebSphere 5 myeclipse easie websphere 6.1 myeclipse Easie WebSphere 6 MyEclipse Easie WebSphere 4 myeclipse Examples//Sample MyEclipse memory monitor//RAM monitor MyEclipse Tapestry integration//plug-in Integration m Yeclipse JSP Debug Tooling//jsp Debug Plugin myeclipse file Creation Wizards//Files creator MyEclipse backward compatibility//background functions MYECLI PSE Perspective Plug-in//Perspective plugin Mozilla Debug UI plug-in (incubation)//mozilla Debug plugin (Mozilla is a browser) WTP Webservice UI Plug-in//web service View plug-in JavaServer Faces tools-core//JSF Tool Core Package JSF editor Preview support for MYECLIPSE//JSF editor

5 . change the way jsp opens by default

After installing MyEclipse, edit JSP page, will open his edit page, also have preview page, speed is very slow, not suitable for development. So the change

Windows–>perferences–>general–>editors->file Associations

Select an editor below and click the Default button on the left

6 , Change code hint shortcut keys

Now the code prompt shortcut keys, the default is Ctrl+space, and our input method switch is also, so there will be conflicts. Who called MyEclipse is a foreigner to do it. There is no need to switch input methods.

Windows–>perferences–>general–>keys

Change content assist to alt+/

At the same time, because alt+/has been occupied by word completion, you have to modify the shortcut key value of Word completion at the same time

7: Automatic prompt function

Windows–>perferences–>java->editor->content Assist, enter ". ABC" after the For Java under Auto-activation ( 7.0 later versions are filled in directly. ABCDEFGHIJKLMNOPQRSTUVWXYZ, the following steps are not required),->apply->ok.

Then File->export->general->perferences->next, choose Save Path,->finish.

Open the file you just saved, search for ". ABC" and change it to ". Abcdefghijklmnopqrstuvwxyz" and save it.

Then file->import->perferences, select the file just now, Finish.

Once the configuration is complete, you can see what happens when you write the Java program.

8: Increase JVM of non-heap memory
Open Myeclipse.ini-startup
.. /common\plugins\org.eclipse.equinox.launcher_1.0.101.r34x_v20081125.jar
--launcher.library
.. /common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.r34x_v20080731
-clean
-configuration
Configuration
-vm
C:\Users\lenovo\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\ Jvm.dll
-vmargs
-xmx384m
-xx:maxpermsize=384m
-xx:reservedcodecachesize=96m

The above is my myeclipse.ini, need to modify is-xmx,-xx:maxpermsize,-xx:reservedcodecachesize,
Increase the value of these three items, but not the bigger the better, have been tested under the same conditions (memory 2GB), the value of-xmx,-xx:maxpermsize 384m is faster than 512m (depending on the specific computer),
The value of-xmx,-xx:maxpermsize is set to the same size and the sum of the two cannot exceed the memory size of your computer itself

9.Eclipse Comment Template:

Window->preference->java->code Style->code Template
(1) Comments-types class notes
/**
* @author your name.
* @ClassName: ${type_name}
* @Version Version
* @ModifiedBy Modified Person
* @Copyright Company Name
* @date ${date} ${time}

*/

10. Display Line Numbers

Show line number: Window->preferences->general->editors->texteditors->show lines numbers Check this

11. Unified Default Encoding:

    • Modify the new Project default encoding: Window->preferences->general->workspace->text file encoding to modify it to UTF-8.
    • Modify the default encoding according to the file: Windows---->preferences---->myeclipse---->file and editors all options under encoding modified to Is010646/unicode (UTF-8) is a unified code of UTF-8.

12. Set the display color in the console

In Tomcat console, right-click on preferences----RUN/DEBUG----console
You can set it as you like.
The first one is: the standard output text color, is the general situation of the output;
The second is: Error message text color, set the red you want;
The third one should be the color of the input text;
The fourth one is the background color, can be set to a darker color, good for the eyes ....

MyEclipse2013 common settings rather than optimization

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.