Four points for ultimate optimization of MyEclipse performance

1. Always pop up Quick update error, turn off MyEclipse's Quick Update automatic update function

The solution to this problem is to turn off automatic updates:

Windows> Preferences> MyEclipse Enterprise Workbench> Community Essentials, and then uncheck the option "Search for new features on startup".

2. Turn off updating indexes

Window > Preferences > Myeclipse Enterprise Workbench > Maven4Myeclipse > Maven>

Turn off updating indexes

禁用Download repository index updates on startup 。

Note: To highlight a problem, many people find that they cannot find this because it is actually closed.

3. Turn off the automatic verification of MyEclipse

There are many validations, including xml, jsp, jsf, js, etc. We don’t need to check all of them automatically, we only check them manually when we need them. The speed will be improved by several grades soon.

Turn off automatic verification of MyEclipse

windows > perferences > myeclipse > validation

Uncheck all builds. If you need to verify a file, we can verify it separately. The method is: on the file that needs to be verified (right click -> MyEclipse -> Run Validation.

4. Start optimization and close modules that do not need to be used

20% of the functions of a system can often meet 80% of the requirements, and MyEclipse is no exception. We only need 20% of the system functions most of the time, so some unused modules can be prohibited from loading and starting.

Start optimization, close modules that are not needed

Window> Preferences> General> Startup andy Shutdown Here are the modules loaded when MyEclipse starts.

I only let it load tomcat5 here, and check MyEclipse EASIE Tomcat 5. Next, close the workspace and start the refresh:

Close workspace and start refresh

Next turn off spell checking:

Next turn off spell check

Only need to cancel Enable spell checking:

取消Enable spell checking

After seeing the auto activation triggers for java, enter the subtitles az in it, then select the application, and then go to the editor to check the prompt. The above option is the prompt for the delay, and it is recommended not to modify it.

View tips in the editor

The selection is complete as shown in the figure, and then we go to myeclipse installation directory>myeclipse.ini to open and modify this file, it is recommended to back up before doing it, otherwise it will not be able to 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 

Mainly modify: 

 
  
  
  1. -Xmx512m  
  2. -XX:MaxPermSize=512m 
  3. -XX:ReservedCodeCacheSize=256m 

These three optimization schemes are best to choose according to your own memory. If you choose the right one, I believe the effect will be very good. If you can't use it after modification, you can overwrite the backup. Let's talk about the commonly used shortcut keys in MyEclipse:

1. Switch the editing point Alt + <-, Alt + ->.

2. View the open file Ctr + e.

3. Making full use of templates is mainly defined by yourself.

4. Customize shortcut keys to generate Getter and Setter.

5. When deleting, try not to backspace or delete keys, row level Ctr+d, and individual parts of the row Ctr+x.

6. If the method name or variable name is not good, replace Ctr+2, r.

7. Ctr+Shift+o quickly guide the package.

8. Run Ctr+F11.

9. Case conversion: Ctr+Shift+X Ctr+Shift+Y.

10. Maximum general window switching: Ctr+M.

11. Sometimes, Alt+Shift+X, Q runs pretty cool, especially when running individual builds.

12. ctrl+shift+f code formatting.

13. ctrl+shift+/to comment/uncomment the selected source code.

14. Shift+alt+s to quickly open the source code function.


Guess you like

Origin blog.csdn.net/tgxblue/article/details/9327763