Eclipse Best Settings

Source: Internet
Author: User
Tags dashed line

Set the project code of the workspace to prevent garbled
Window-preferences-general-workspace
Select "Other"-"UTF-8" for "Text file Encoding"
To change the encoding of an existing project: Right-click on the project properties and select "Text File Encoding" encoding

Set encoding for other files
Content Types, Preferences, Window, Windows
Encode the file settings you want to set, preferably set to UTF-8
After setting, such as JavaScript file can display Chinese correctly

Set the default encoding of the JSP to UTF-8 when creating a JSP page
JSP, Files and Editors, MyEclipse, Preferences, Window
Select "Encoding" as "Iso10646/unicode (UTF-8)

Remove blank lines from the page when formatting a JSP
HTML-HTML Source, Preferences, MyEclipse, Window
Tick "Clear All Blank Lines"

Enhanced automatic code hinting for eclipse
By default, only press "." or "Alt +/" to appear code hint function, not strong enough, make small settings, can make the code hint function like vs's Convenient
1. Content Assist, Editor-in-Java, Window, Preferences
2. Set "Auto Activation triggers for Java" to ". ABC" (The Default is "."), click "Apply"
3. Export the current Eclipse profile: Perferences, general, file, export, select Save Path to save *.EPF file
4. Open the *.epf file you just saved with a text editor, search for ". ABC" and Change the ". ABC" section to
". ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ (," (above is the trigger character for automatic prompting,
According to personal habits settings), save this profile (personally feel not very good, error prone)
5. Import this profile: file, import, General, perferences, import the modified configuration file.

The first option is reaction time and can be set to about 100 (default 200)

Where to use the same reference in a highlighted class
Perferences, General-> Editors, Texteditors, Window----Annotations
Select "Occurrences", seduce "Text as", "highlighted" (Block highlighting) or "squiggles" (dashed line)

Link with Editor
When the class is opened, the location of the class is automatically shown here in the package Manager



Cancel MyEclipse automatic file verification (the reason for the silly card)
Windows–> perferences–>myeclipse–> Validation
Keep the Manual (manual) section, under Build only "Classpath dependency Validator"

Manual Verification: Right-click File, MyEclipse, Run Validation

Cancel spelling Error Checking
I love to deliberately write the wrong words, do not need the system to help me check
windows–> perferences–> general–> editors-> Text Editors-spelling
Remove the "Enable spell checking" tick

To close unwanted startup items
MyEclipse:
Windows–> perferences–> general–> Startup and Shutdown

I just kept it.


Order Down:
1, Tomcat6: Necessary ...
2, Memory Monitor: Can view myeclipse using memory, I like this tool (in menu Myeclipse-utilities-show Heap status Open)
3, JSP debug Tools, in fact, I have not used, afraid of one day to use ...
4, File Creation wizard (often used by individuals)
5, backwards compatible meaning, afraid one day will be used, but in fact rarely used, can be removed
6, perspective, you should be able to remove it ...

In fact, just choose Tomcat6.

Turn off Automatic Updates
1, Eclipse:
Windows–> perferences–> install/update-Automatic Updates
Uncheck "Automatically find new updates and notify Me"

2, MyEclipse:
1) windows–> perferences–> myeclipse ...-Community Essentials
&NB sp; Uncheck "Search for new features at startup"
2) windows–> perferences–> myeclipse ...-maven4myeclipse
Uncheck "Download Repository index updates on startup"



First: Add splash screen to MyEclipse 8.x Stable (8.0 GA)
Append the previous 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 crazy
Tip One: Cancel automatic validation
Validation have a bunch of, what XML, JSP, JSF, JS and so on, we do not need to all go to automatically check, just when needed
Will be manually checked, the speed of the upgrade several grades immediately!
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


Third: MyEclipse consumption of memory of the method of refusal
1 always pops up quick update error
The solution to this problem is to turn off automatic Updates

Windows > Preferences > MyEclipse Enterprise Workbench > Community Essentials,
Remove the front tick of the option "Search for new features on startup".

2 Close Updating indexes

Window > Preferences > MyEclipse Enterprise Workbench > Maven4myeclipse > maven> Disable download
Repository Index updates on startup

3 Turn off automatic validation of MyEclipse

Windows-->perferences-->myeclipse-->validation
Remove all of the build under the check box

If you need to verify a file, we can verify it individually. On a file that needs to be validated (right-click
MyEclipse, Run Validation

4 start optimization, close modules that you do not need to use

Window > Preferences > General > Startup Andy Shutdown listed here are the modules loaded at myeclipse startup
I just let it load tomcat5 tick myeclipse Easie Tomcat 5

5. At the MyEclipse 7.0 version,
Window-preferences-myeclipse Enterprise work-maven4myeclipse-maven, uncheck download
Repository index updates on startup!
6. Turn off Update Schedule: Window----preferences-------Startup and Shutdown and Automatic
Updates Scheduler (Remove the previous tick)

Reference: http://www.blogjava.net/314508313/archive/2011/11/07/363040.html

Eclipse Best Settings

Related Article

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.