Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze the Speed Optimization Scheme of MyEclipse

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces you how to analyze the speed scheme of MyEclipse optimization, the content is very detailed, interested friends can refer to, I hope it can be helpful to you.

There are four aspects of MyEclipse optimization speed program: integration module, integration configuration, removal of unnecessary checks, and turn off updates. Now let's introduce them one by one.

MyEclipse optimization speed scheme 1. Remove modules that do not need to be loaded

20% of the functions of a system can often meet 80% of the requirements, and MyEclipse is no exception. Most of the time, we only need 20% of the system functions, so we can disable some unused modules from loading and starting. Open the configuration window through Windows-Preferences and select General-Startup and Shutdown on the left. At this time, the modules loaded at Eclipse startup are displayed on the right, and some modules can be removed according to your actual situation.

Windows- > perferences- > general- > startup and shutdown

Turn off useless startup items:

WTP: something similar to myeclipse. The main difference is that WTP is free. If you use myeclipse, this can be cancelled.

Mylyn: a team task management tool, similar to CVS, which manages project progress on a task-by-task basis. Unused tasks can be cancelled.

Derby: a database saved in jar form. I didn't use it. Cancel it.

A large list of startup items that start with MyEclipse EASIE: servers supported by myeclipse, only those for your own use, and other cancellations. For example, I only chose tomcat.

MyEclipse optimization speed scheme 2. Cancel MyEclipse to automatically verify the project configuration file at startup

By default, MyEclipse automatically validates the configuration files of each project when it starts, which is a very time-consuming process. You can select MyEclipse-Validation in the Preferences window, and then leave only the Manual entry in the Validator list on the right. If you need to validate, just select the file, and then right-click MyEclipse-Run Validation.

Windows- > perferences- > myeclipse- > validation

Click off everything except manual, leaving only classpath dependency Validator under build.

Manual verification method:

On the file you want to verify, right-click-> myeclipse- > run validation

MyEclipse optimized speed plan 3. Get rid of the spell check (if you find it useful, you don't have to go)

Spell checking will bring us a lot of trouble, our method naming will be abbreviations of words, and he will also indicate that there is something wrong, so it is not of much use to remove it:

Windows- > perferences- > general- > validation- > editors- > Text Editors- > spelling

It is not good for myeclipse to open the default editor of jsp. Preview will be opened at the same time.

Windows- > perferences- > general- > editors- > file associations

Change the default to MyEclipse JSP Editor

MyEclipse optimization speed scheme 4. Turn off automatic updates

Windows > Preferences > MyEclipse > Community Essentials

Put the option "Search for new features on startup"

If it is myeclipse7.0:

(1) there is a maven that can turn off automatic updates:

Window-preferences-MyEclipse Enterprise Work-Maven4MyEclipse-Maven, uncheck Download repository index updates on startup!

(2) disable update scheduling: window-- > preferences-- > General-- > Startup and Shutdown-- > Automatic Updates Scheduler (remove the previous tick)

Writing code with [MyEclipse] is easy to jam, especially when writing code between <%% > of JSP documents, as soon as a pop-up smart prompt immediately jams, the program loses response, I thought it was the problem of the MyEclipse version, but the result changed to version 6.0-> 6.5version-> 7.0version is all the same, is it my machine's problem? But after restoring the system, the result is still the same.

Baidu you know, but Baidu N just found some access, search also pay attention to skills, for N [keyword] combination to find out. It is said that MyEclipse automatically accesses the sun company's API documents on the network when prompted, as long as the network connection is turned off. I tried to disconnect the network and then wrote the code in MyEclipse, and it was really done. However, I can't stop surfing the Internet because of this. I went on to Baidu and found the best of both worlds.

Right-click on the project name you created, select Properties-- > Click Java Build Path-- > click the Libraries tab in the open window, find the place shown in tag 2 in the figure-- > Select the Remove on the right to change to look like tag 1-- > Click OK.

Then you won't get stuck when you write the code.

On how to optimize the speed of MyEclipse analysis is shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report