1. Remove modules that do not need to be loaded
The function of a system 20% is often able to meet 80% of the requirements, MyEclipse is no exception, we only need 20% of the system function most of the time, so we can disable the loading of some unused modules to start. Open the Configuration window via Windows-preferences, then select the General-startup and Shutdown on the left, this time on the right shows the module that was loaded at eclipse startup, and can remove some modules according to your actual situation.
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
2. Cancel MyEclipse automatically verify the project configuration file at startup
By default, MyEclipse automatically validates each project's profile when it is started, which is a very time-consuming process
You can select MyEclipse Enterprise workbench-validation in the Preferences window, and then keep only Manual items in the validator list on the right (Manual all tick, The Bulid item only leaves the first item).
If you need to verify the time only need to select the file, and then right-click on the Myeclipse-run validation.
Windows–>perferences–>myeclipse–>validation
Drop all except the manual below, build only leave classpath dependency Validator
Manual Verification Method:
On the file that you want to verify, right-click –>myeclipse–>run validation
3, remove the spell check (if you feel useful can not go)
Spell check will bring us a lot of trouble, our method naming will be the abbreviation of the word, he will also suggest mistakes, so it is best to remove, not much use:
Windows–>perferences–>general–>validation->editors->text editors->spelling
MyEclipse Open JSP Default editor is not good, will open the preview at the same time
Windows–>perferences–>general–>editors->file Associations,
Change the default to MyEclipse JSP Editor ()
The original default JSP editor is myeclipse Visual JSP Designer, as the name implies, this compiler is a JSP visual editor, for beginners have a lot of help,
However, modifying the default editor for this item can actually increase the startup speed)
4. Turn off Automatic Updates
If it is myeclipse7.5:
(1) Turn off MAVEN auto Update:
Window-preferences-myeclipse Enterprise Workbench-maven4myeclipse-maven,
Turn off all download and update options, total four items (remove the previous tick)
(2) Close update schedule:window–> preferences–> general–> Startup and shutdown–> Automatic updates Scheduler (remove the previous tick)
(3) window–> preferences–>myeclipse Dashboard, close Show......on start
5. Increase the non-heap memory of the JVM
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
6, Window-preferences-myeclipse Enterprise Workbench-maven4myeclipse-maven, the Maven JDK to the computer installed JDK, A JDK that does not use MyEclipse to improve
Register the Add button and select the JDK on your computer (note: Not the JRE, my value is: Java6.014)
7, Window-preferences-myeclipse Enterprise workbench-matisse4myeclipse/swing, will design-time information (Dt.jar) Location switch to computer-installed JDK Dt.jar
(that is, without using the Dt.jar provided by MyEclipse, my value is: C:/java6.014/lib/dt.jar)
Attached: basic configuration of MyEclipse:
1. Install MyEclipse First, install MyEclipse7.5 need VPN agent, installation process lasts about 10-15 minutes, use VPN test account can
2. For MyEclipse configuration,
From the menu bar, go to "Windows-Preferences"
3. To configure the JDK first,
Select "Java-installed JREs" in the left column,
Press "Add" button to add
4. In the "Add JRE" screen that pops up, select the directory of the JRE,
is to choose the directory of your JDK, mine is: C:/Program Files/java/jre6
In the JRE Name column, fill in the name you want, I'm called "Hijackson's JRE" here,
Then "OK" determines
5. Go back to the Settings box and select the JRE you just configured
6. Make Tomcat server available and set up the Tomcat installation directory
7. Select the JDK you just configured in Tomcat's JDK
8. The configuration is complete, three places can start its service, according to your preference ~ ~ ~
With the above optimization, the MyEclipse start-up time can be reduced by up to 1/2 (depending on the situation) and the 2/3,tomcat start-up speed can be reduced.
Special 6, 72 of the optimization effect is most obvious,
If only the first 5 items, the optimization effect is limited, in the short term can actually improve the startup speed, but about half a month later will become very slow (specific reasons unknown)
In addition, after using MyEclipse for a period of time, there will be many projects, even if these items are closed, Myecliose will load these items at startup, this process will take a lot of time, so it is recommended to delete the unused items, and then import
Java----content Asistant---. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz (,
Delay-----50
1. Automatically fix unnecessary word problems when instantiating
2. Re-map with MyEclipse 6.5
In view of the great criticism on the internet, I just want to illustrate my idea that such enhanced code hints are ultimately used to assist us in developing and improving development efficiency rather than to satisfy the lazy behavior of not having to knock on so much code. Beginners, can be prompted to get some easy to forget the package name, easy to forget the name of the class (for beginners, many things just use less), reduce the pain of repeated query API. For the master, naturally needless to say, everyone has their own shortcut keys, but also the perfection of the kind, and here the enhanced code hint, is to act as such a role, to improve the speed of tapping code, improve development efficiency. Of course, everyone should adapt to this code hint, to use it well, or to need a little time. Use well, naturally will do more with less.
By default, Eclipse, MyEclipse's Code hints feature is much worse than Microsoft Visual Studio, primarily Eclipse, myeclipse itself has many options that are turned off by default, to be manually configured by the developer himself. If the developer is not sure, Eclipse is not known, and the MyEclipse Code hints feature is as powerful as the code hinting features of Microsoft Visual Studio.
Let's take a simple example to illustrate the problem, for example, by default, in Eclipse, the MyEclipse code, a foreach, switch and so on, is not able to get code hints (do not trust themselves to try), the other is not to mention, and in the Microsoft In Visual Studio, you get very friendly code hints. In fact, Eclipse, the code hint function in the MyEclipse code is usually the point ". ", there is usually a point." ", there will be code hints.
principle: the "Auto Activation triggers for Java" option refers to the option to trigger the code hint, ". "Change to". ABCDEFGHIJKLMNOPQRSTUVWXYZ (, "means to encounter 26 letters and.) (These symbols trigger the code hinting function.) (Say it later, rest assured)
Enhanced Eclipse, MyEclipse 6.5 code hints feature, specifically how to configure? The following steps (note I use the MyEclipse 6.5 to explain, the other, the principle is the same):
1. Open MyEclipse 6.5, then "window" → "Preferences"
2. Select "Java", expand, "Editor", and select "Content Assist".
3. Select "Content Assist" and see the "Auto Activation triggers for Java" option under "Auto-activation" on the right and right. In fact, the trigger code hint is ". "This symbol.
4. "Auto Activation triggers for Java" option in "." After the addition of ABC letters, convenient to find the following changes. Then "Apply" and click "OK".
5. Then, "File" → "Export", in the pop-up window select "Perferences", click "Next".
6. Select the export file path, I export to the desktop, enter "test" as the file name, click "Save".
7. On the desktop, locate the file "TEST.EPF" that you just saved, and right-select "Open with Notepad."
8. You can see a lot of configuration MyEclipse 6.5 information
9. Press "CTRL + F" shortcut key, enter ". ABC" and click "Find Next".
10. Find the configuration information for ". ABC" as follows:
11. Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, Close "TEST.EPF").
12. Go back to the MyEclipse 6.5 interface, "file" → "Import", in the pop-up window select "Perferences", click "Next", select just in the modified "TEST.EPF" file, click "Open", click "Finish". This step is similar to the export step above.
13. Finally, of course, the code is tested. Just create a new project and create a new class. Test in code input switch, foreach, and so on. You will immediately find that the hint, and no matter which letter will have a lot of relevant hints, very smooth, very convenient.
Summarize:
The "Auto Activation triggers for Java" option refers to the option to trigger the code hint and "." Change to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (," means that it encounters 26 letters and.) (These symbols trigger the code hinting function.)
Of course, ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (," Here can also add capital letters and some other symbols, specific, self-setting and adjusting yourself as needed.)
This Auto activation delay is the time to set the delay for triggering the code hint. 200 refers to 200ms, is the default value, you can also set as needed.
By the way, modify the class name, interface name, etc. in different colors highlighted, can be configured in the "Java" → "Enditor" → "Syntac", the right to expand "Java" → "classes", tick "Enable" this option, choose their favorite color. There are, of course, other related color configurations. Not to mention it in detail. In fact, in the "Preferences" this thing,
In fact, there are a lot of things that can be configured, so that MyEclipse optimization, specific to each person according to their own personal preferences to configure. Thank you.
This article from Csdn Blog, reproduced please indicate the source: http://blog.csdn.net/yuyulover/archive/2009/09/23/4582536.aspx
How to optimize MyEclipse.