Set the project code of the workspace to prevent garbled characters.
Window-preferences-General-Workspace
Select "text file encoding" as "other"-"UTF-8"
To change the code of an existing project, right-click the project attribute and select "text file encoding ".
Encode other files
Window-> preferences-> General-> content types
Set the encoding of the file to be set, preferably as a UTF-8
After setting, the Javascript file can display Chinese characters normally.
Set the default encoding of JSP to UTF-8 when creating a JSP page
Window-> preferences-> myeclipse-> files and editors-> JSP
Select "encoding" as "iso000046/Unicode (UTF-8)
Remove blank lines from the page when formatting JSP
Window-> preferences-> myeclipse-> HTML source
Check "Clear all blank lines"
Enhance eclipse's Automatic code prompt Function
By default, only press "." or "Alt +/" to display the code prompt function, which is not powerful enough. For a small setting, the code prompt function can be as convenient as.
1. Window-> preferences-> JAVA-> Editor-> content assist
2. Set "auto activation triggers for Java" to ". ABC" (default: "."), and click "Apply ".
3. Export the current eclipse configuration file: file-> export-> General-> perferences, select the Save path, and save the *. EPF file.
4. Open the saved *. EPF file in the text editor, search for ". ABC", and change ". ABC"
". Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz (," (the above is the trigger character for the automatic prompt,
Save the configuration file according to your habits)
5. Import this configuration file: file-> Import-> General-> perferences. Import the modified configuration file.
The first option is the response time, which can be set to around 100 (200 by default)
Position of the same reference in the highlighted class
Window-> perferences-> General-> editors-> texteditors-> annotations
Select "occurrences" to seduce "text as"-> "highlighted" (Block highlighting) or "squiggles" (dotted line)
Link with Editor
After the class is opened, the class location is automatically displayed in the package manager.
Cancel automatic file verification for myeclipse (the reason for being silly)
Windows-> perferences-> myeclipse-> Validation
Retain the Manual (manual) part, and leave only "classpath dependency validator" in build"
Manual verification: Right-click the file and choose myeclipse> RUN validation.
Cancel spelling error check
I love to intentionally write wrong words and don't need the system to check for me
Windows> perferences> General> editors> text editors> spelling
Remove the Enable spell checking check box.
Disable unnecessary startup items
Myeclipse:
Windows-> perferences-> General-> startup and Shutdown
I only keep
Order:
1, tomcat6: required...
2. Memory monitor: You can view the memory used by myeclipse. I like this tool (Open myeclipse-utilities-show heap status in the menu)
3. I have never used the JSP debug tool, even if it is used one day...
4. File Creation wizard (often used by individuals)
5. Backward compatibility. I'm afraid it will be used one day, but it is rarely used.
6. You can remove the perspective chart...
In fact, you only need to select tomcat6.
Disable Automatic update
1. Eclipse:
Windows-> perferences-> install/update-> Automatic Updates
Uncheck "automatically find new updates and between y me"
2. myeclipse:
1) Windows> perferences> myeclipse...> community Essen
& Nb sp; do not check "search for new features at startup"
2) Windows-> perferences-> myeclipse...-> maven4myeclipse
Uncheck "Download repository index updates on startup"
First, add the startup screen to myeclipse 8.x stable (8.0 Ga ).
Append a line of code to the myeclipse. ini configuration file:
-
Dosgi. splashlocation = ../common/plugins/COM. genuitec. myeclipse. product8_8.0.0.me200911192201/SP
Lash.bmp
Second: Let eclipse drag myeclipse into the wild
Tip 1: Cancel automatic validation
There are a bunch of validation items, such as XML, JSP, JSF, and JS. We don't have to perform automatic verification on all of them.
It will be manually verified, and the speed will immediately increase to several levels!
Cancellation Method:
Windows --> perferences --> myeclipse --> Validation
Except for all the check boxes under manual, none of them are selected.
Manual verification method:
On the file to be verified, right-click --> myeclipse --> RUN Validation
Third: myeclipse memory consumption measures
1. always pop up quick update Error
The solution to this problem is to disable automatic updates.
Windows> preferences> myeclipse enterprise workbench> community essen,
Remove the marker of search for new features on startup.
2. Disable updating indexes
Window> preferences> myeclipse enterprise workbench> maven4myeclipse> Maven> disable download
Repository index updates on startup
3. Disable automatic validation of myeclipse
Windows --> perferences --> myeclipse --> Validation
Uncheck all build
If you need to verify a file, we can verify it separately. The method is to, on the file to be verified (right-click->
Myeclipse-> RUN Validation
4. Start optimization and disable unnecessary modules.
Window> preferences> General> startup Andy shutdown lists the modules loaded at myeclipse startup.
I only want it to load Tomcat 5 and check myeclipse easie Tomcat 5.
5. In myeclipse 7.0 or later versions,
Window-preferences-myeclipse enterprise Work-Maven4MyEclipse-Maven, deselect download
Repository index updates on startup!
6. Disable update scheduling: window --> preferences --> General --> startup and shutdown --> automatic
Updates sched (remove the preceding check box)