Before Eclipse development, common 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)
In eclipse: Window-->preferences-->web--->jsp file--->encoding--->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 configuration file: Perference, General, export, file--s, choose Save Path, save get *.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

canceling automatic file validation for MyEclipse(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 itemsMyEclipse:
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, it's just a choice.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"

Before Eclipse development, common 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.