1、设置编码为UTF-8
在Windows-<Preference页面中,选择General-<WorkSpace
选择右侧框中的Text File encoding,改为utf-8
2、导入 格式化模板
windows-》preference—》java-》code style-》code template
点击import按钮
3、字体大小
Window - Preferences-》General-Appearance-Colors and Fonts
展开Java,选中“Java Editor Text Font”