MyEclipse Optimization Settings

Source: Internet
Author: User
Tags xms

One, MyEclipse font settings
Window->preferences->general->appearance->colors and Fonts
On the right, find the "Aa Test font" Double-click or click the Edit button to modify the font; Recommended font settings are as follows:
Courier New font General No. Fourth

Second, MyEclipse encoding method (Jsp+text)
Set the JSP encoding format
Window->preferences->myeclipse->files and Editors->jsp->encoding->utf-8
Set other text encoding formats
Window->preferences->general->workspace->text file Encoding->other->utf-8

Third, MyEclipse automatic text verification
Window->preferences->myeclipse->validation
Keep manual (manual) section, build under "Classpath dependencyvalidator", manually verify: Select File Right-click Myeclipse->run Validation

Iv. MyEclipse turn off Automatic Updates
Window->preferences->myeclipse->maven4myeclipse
Uncheck "Download repository indexupdates on startup"

V. MyEclipse elimination of spelling errors verification
Window->preferences->general->editors->text editors->spelling
Uncheck "Enable spell checking"

Vi. setting when MyEclipse memory is low
1. Heap memory allocation
The initial memory allocated by the JVM is specified by-XMS, the default is physical memory 1/64;JVM the maximum allocated memory is specified by-XMX, which defaults to 1/4 of the physical memory. When the default free heap memory is less than 40%, the JVM increases the heap until the maximum limit of-xmx, and when the free heap memory is greater than 70%, the JVM reduces the heap until the minimum limit of-XMS. Therefore, the server generally sets-xms,-xmx equal to avoid resizing the heap after each GC (garbage collector).
2. Non-heap memory allocation
The JVM uses-xx:permsize to set the non-heap memory initial value, which defaults to 1/64 of the physical memory, and the maximum non-heap memory by Xx:maxpermsize, which by default is 1/4 of physical memory.
Open Myeclipse.ini
#utf8 (do not remove)
#utf8 (do not remove)
-startup
.. /common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
.. /common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650
-install
D:\AppData\Local\MyEclipse\MyEclipse 10
-vm
D:\AppData\Local\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe
-configuration
D:\AppData\Local\MyEclipse\MyEclipse 10\configuration
-vmargs
-xmx512m
-xx:maxpermsize=384m
-xx:reservedcodecachesize=96m
-dosgi.nls.warnings=ignore
The above is my Myclipse.ini file content, the modified parameter is:-xmx,-xx:maxpermsize,-xx:reservedcodecachesize, note:-xmx and-xx: The sum of MaxPermSize cannot exceed the memory size of the computer itself.
Myeclipse.ini modified the parameter settings but did not take effect because of a violation of the file's setup specification:
Parameters such as "Item value" have spaces in the middle of the form that need to be wrapped, or if there are spaces in the value, enclose them in double quotation marks.
Seven, optimize the startup item, close some functions
Most people in MyEclipse need only 20% of the system function to complete the required task operations, so you can modify the unused features to prohibit load startup.
Window->preferences->general->startup Andy Shutdown
The MyEclipse Easie begins with the server, which I only keep as follows:
1.Tomcat 6 or 7 (required)
2.Weblogic 11
3.JSP Debug
Other features plug-in to see the individual needs, if not used can be all unchecked.
Viii. code is automatically formatted when you cancel the Save code
Window->java->editor->saveactions->format Source code de-tick


MyEclipse 8.5 has just been released, the new version of the features can greatly improve the efficiency of developers. But at the same time, because of the computer configuration, many developers in the use of MyEclipse, the speed is not very fast, we need to myeclipse to make some necessary optimizations.
1, always pop-up quick update error, turn off the MyEclipse quick Update Automatic Updates function
The solution to this problem is to turn off automatic Updates:
Windows > Preferences > MyEclipse Enterprise Workbench > Community Essentials, then turn the option "Search for new features on S Tartup "The front hook can be removed.
2, close updating indexes
Window > Preferences > MyEclipse Enterprise Workbench > Maven4myeclipse > Maven>

Disable download repository index updates on startup.
Note: To highlight a problem, many people find it impossible to find this because it is actually closed.
3, close the MyEclipse automatic validation
Validation there are many, including XML, JSP, JSF, JS and so on, we do not have to go to the automatic check, just need to check the manual, the speed will quickly improve several grades.

Windows > Perferences > MyEclipse > Validation
Cancel all of the builds, and if you need to verify a file, we can verify it individually. On the file that needs to be validated (right-click MyEclipse, Run Validation.
4, start the optimization, close the module that do not need to use
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.

Window > Preferences > General > Startup Andy Shutdown listed here are the modules loaded at myeclipse startup.
I just let it load tomcat5, tick MyEclipse Easie Tomcat 5. Next, you turn off the workspace to start the refresh:

Next turn off spell checking:

Only need to cancel enable spell checking:

After you see auto activation triggers for Java, enter a A-Z in the subtitles, then select the app, then go to the editor to see the hint, the above option is the delay of how much time prompt, it is recommended not to modify.

So the choice is finished, and then we go to myeclipse install directory >myeclipse.ini Open Modify this file, it is recommended to do before the backup, or wrong can not start.
1.-startup
2.../common/plugins/org.eclipse.equinox.launcher_1.0.201.r35x_v20090715.jar
3.--launcher.library
4.../common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
5.-install
6.e:/develop/myec85/myeclipse 8.5 M2
7.-vm
8.e:/develop/myec85/common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
9.-vmargs
10.-xmx512m
11.-xx:maxpermsize=512m
12.-xx:reservedcodecachesize=256m
The main changes are:
1.-xmx512m
2.-xx:maxpermsize=512m
3.-xx:reservedcodecachesize=256m
These three optimization schemes, preferably according to their own memory to choose, choose the appropriate words, I believe the effect will be very good. If you can't use it after you've modified it, you can overwrite the backup back. Here are some of the shortcut keys that are commonly used in MyEclipse:
1, toggle edit point ALT + <-, ALT +.
2. View open file Ctr + E.
3, make full use of the template is the main definition of their own.
4, custom shortcut key generation getter and setter.
5, delete when try not to backspace or delete key, row level ctr+d, the line of individual parts ctr+x.
6, see the method name or variable name is not good, replace Ctr+2,r.
7, Ctr+shift+o Quick Guide package.
8, running CTR+F11.
9, Case conversion: Ctr+shift+x ctr+shift+y.
10, the largest general window switch: ctr+m.
11, sometimes, alt+shift+x,q operation is quite cool, especially when the individual run build.
12, ctrl+shift+f code format.
13, ctrl+shift+/to comment/anti-annotation selection of source code.
14, Shift+alt+s to quickly open the source function.

MyEclipse Optimization Settings

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.