[size=medium]This article I wrote for myself. Because I always forget these things[/size]
[size=medium]
[b]1. Eclipse font setting[/b][/size]
Window ->Preferences ->General ->Appearance ->Colors and Fonts
right window -> Java -> Text Font
[img]http://dl.iteye.com/upload/attachment/0077/5426/0bcf82f2-0166-3c91-996d-9439f86159b6.png[/img]
[size=medium]
[b]2. Eclipse Auto Activation[/b][/size]
Window ->Preferences ->Java ->Editor ->Content Assist
right window ->
Auto activation triggers for Java: .abcdefghijklmnopqrstuvwxyz (add all 26 letters)
[img]http://dl.iteye.com/upload/attachment/0077/5428/5083ac25-ea27-335c-ad27-49820e907b34.png[/img]
[size=medium]
[b]3. Eclipse encoding[/b][/size]
(To encoding UTF-8 as example)
1). Change encoding for all workspace
eclipse ->Window ->Preferences ->General ->Workspace
right window -> Text file encoding -> choose Other:UTF-8 ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5430/da4af860-8237-33d1-aa62-67df316f451b.png[/img]
2).Change encoding for a project
right click Project name -> Properties ->Resource -> Text file encoding -> choose Other:UTF-8 ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5432/2e280341-8b4b-34b6-9027-5c9387691dab.png[/img]
3). Change encoding for special type file
eclipse ->Window ->Preferences ->General ->Content Types
right window ->Content types :choose the file(JAVA, JSP and so on) ->Default encoding:input UTF-8 -> Update ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5434/a5d15ccb-f6b0-3459-835c-4d8bd67e2d00.png[/img]
4).Change encoding for single file
Package explorer -> right click single file ->Preferences ->Resource -> Text file encoding -> choose Other:UTF-8 ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5436/c3d18308-53bd-318d-ac9c-ace7ac3795a9.png[/img]
[size=medium]
[b]1. Eclipse font setting[/b][/size]
Window ->Preferences ->General ->Appearance ->Colors and Fonts
right window -> Java -> Text Font
[img]http://dl.iteye.com/upload/attachment/0077/5426/0bcf82f2-0166-3c91-996d-9439f86159b6.png[/img]
[size=medium]
[b]2. Eclipse Auto Activation[/b][/size]
Window ->Preferences ->Java ->Editor ->Content Assist
right window ->
Auto activation triggers for Java: .abcdefghijklmnopqrstuvwxyz (add all 26 letters)
[img]http://dl.iteye.com/upload/attachment/0077/5428/5083ac25-ea27-335c-ad27-49820e907b34.png[/img]
[size=medium]
[b]3. Eclipse encoding[/b][/size]
(To encoding UTF-8 as example)
1). Change encoding for all workspace
eclipse ->Window ->Preferences ->General ->Workspace
right window -> Text file encoding -> choose Other:UTF-8 ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5430/da4af860-8237-33d1-aa62-67df316f451b.png[/img]
2).Change encoding for a project
right click Project name -> Properties ->Resource -> Text file encoding -> choose Other:UTF-8 ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5432/2e280341-8b4b-34b6-9027-5c9387691dab.png[/img]
3). Change encoding for special type file
eclipse ->Window ->Preferences ->General ->Content Types
right window ->Content types :choose the file(JAVA, JSP and so on) ->Default encoding:input UTF-8 -> Update ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5434/a5d15ccb-f6b0-3459-835c-4d8bd67e2d00.png[/img]
4).Change encoding for single file
Package explorer -> right click single file ->Preferences ->Resource -> Text file encoding -> choose Other:UTF-8 ->OK
[img]http://dl.iteye.com/upload/attachment/0077/5436/c3d18308-53bd-318d-ac9c-ace7ac3795a9.png[/img]