MyEclipse 8.5 Optimization Example

Source: Internet
Author: User

In [MyEclipse] write code very easy to freeze, especially in the JSP file between the <%%> writing code, as long as a pop-up smart prompt immediately stuck, the program lost response, I thought it was myeclipse version of the problem, the results changed 6.0 version-"6.5 Version-" version 7.0 is all the same.
MyEclipse automatically accesses the latest Sun company API documentation on the Web at the smart tip, as long as it shuts down the network connection. I tried to disconnect the network and write the code with MyEclipse, and the results were really done. However, I can not because of this is not the Internet, finally, found the two-way solution.

Right-click on the project name you created, select Properties, and click Java Build Path in the open window to locate the Libraries tab.

JRE System Libraries->charsets.jar->javadoc Location

Select Javadoc location, and then select Remove on the right to change to Javadoc location: (None), click OK.
The next time you write the code, you won't get stuck.

MyEclipse 6.5 Predictive input unresponsive solution when writing JSP code
A headache problem, enter "." On the JSP page. After that, MyEclipse often appear unresponsive, wait for several minutes to return to normal, find a lot of methods, the following method is the most effective, is actually very simple:


window-->java-->installed jres--> Select your version-->edit--> select the jar package-->javadoc location There's a path.
Remove the address below path to OK!

First step: 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

Step Two: cancel the 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–>validation->editors->text editors->spelling

Step Three: cancel the MyEclipse 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 (see the bottom of the article)

Fourth Step: change the way JSP is turned on 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 change the Windows–>perferences–>general–>editors->file associations

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

Fifth Step : Change code hint shortcuts (not recommended, use ctrl+/to prompt when you need them)

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

Well, the speed and convenience of the present is not improved.

Sixth step: Change memory usage files

1. Open Eclipse.ini


-showsplash
Com.genuitec.myeclipse.product
--launcher. Xxmaxpermsize
256M
-vmargs
-dosgi.requiredjavaversion=1.5
-xms256m
-xmx1024m
-dosgi.splashlocation=e:myeclipse 6.0eclipsemyeclipsesplash.bmp
-duser.language=en
-xx:permsize=128m
-xx:maxpermsize=256m
Put the following-xx:maxpermsize, such as-xx:maxpermsize=512m, and then make-xx:permsize as big as-xx:maxpermsize
Reason: Everyone must be familiar with this picture:

Almost every time Eclipse card is due to this non-heap memory, the maximum and minimum is the same because the myeclipse is not allowed to change the size of the memory area frequently

Note: The size of xx:maxpermsize and XMX cannot exceed the size of your computer's memory

Seventh Step: Modify the Struts-config.xml File open error

Sometimes clicking on the struts XML configuration file in MyEclipse will cause an error:

Error opening the editorunable to open the editor, unknow the editor ID .....

This window is closed before the correct XML file display, this we change:

Windows–>perferences–>general–>editors->file Associations Select *.xml, select MyEclipse XML Editor Point Default,ok

Eighth step: Cancel the automatic verification, the manual verification

Windows-->perferences-->myeclipse-->validation

To Cancel all the builds, keep manual (manual) If you need to verify a file, we can verify it individually. To do this, on the file that needs to be validated (right-click MyEclipse, Run Validation

nineth step : Cancel Maven update (start update)

Window > Preferences > MyEclipse Enterprise Workbench > Maven4myeclipse > maven> disable Download repository index Updates on startup

MyEclipse 8.5 Optimization Example

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.