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
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 the change
Windows–>perferences–>general–>editors->file Associations
Select an editor below and click the Default button on the left
Fifth step: Change code hints shortcut keys
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.
Of course, this is only a tool of familiarity, there is no technical content, but the saying is not to say
"Ax", with convenient tools, we write code when the mood is still improved ...
1. Open Eclipse.ini
-showsplash
Com.genuitec.myeclipse.product
--launcher. Xxmaxpermsize
256M
-vmargs
-dosgi.requiredjavaversion=1.5
-xms128m
-xmx512m
-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!
Enhanced automatic code hinting for Eclipse and MyEclipse
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 start with a simple example of the problem, such as in Eclipse, MyEclipse code, playing a foreach,switch and so on, is not able to get the code hint (do not trust themselves to try), the others, not to mention, but in the Microsoft Visual Inside the Studio is a very friendly code hint. In fact, Eclipse, the code hint function in the MyEclipse code is usually the point ".", which is usually a point "." Before a code hint is available.
Principle: "Auto Activation triggers for Java" This option refers to the option to trigger the code hint, change "." To ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", It means encountering 26 letters (which can be capitalized) and. (These symbols trigger the code hinting function.) (specifically, say, rest assured) enhanced Eclipse, MyEclipse code hints function, specifically how to configure? The following steps are started (note I use MyEclipse 6.0.1 to do the explanation):
1. Open MyEclipse 6.0.1, 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. Actually, it means "." is the trigger code hint. 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.0.1 information
9. Press "CTRL + F" shortcut key, enter ". ABC" and click "Find Next".
10. Find the configuration information for ". ABC".
11. Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, Close "TEST.EPF").
12. Go back to the MyEclipse 6.0.1 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.
Summary: 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.) 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, there are many things can be configured, so that MyEclipse optimization, specific to each person according to their own personal preferences to configure.
Eclipse Optimization Method (Classic Collection)