Eclipse配置:
Window->Preference
1.JDK的配置:
Java ->Installed JREs,我选择c/program files/java...JDK1.6.02
2.字体的配置
Appearance - > Colors and Fonts -> Java -> Java Editor Text Font
3.如果有单词缩写等不报错的配置
Appearance->Editors->Text Editors->Spelling->Enable spell checking.
4.代码风格的配置(Braces(括号),Control Statements(if else等的风格))
Java -> Code Style ->Formatter-> New(新建一个格式化的名字)
->Braces/Control Statements
5.括号中的默认参数(去掉)
Java -> Editor -> Content Assist -> Fill method arguments and show gusessed arguments(去掉)
6.编译级别
全局:Java -> Compiler-> Compiler compliance level: ->ok->yes
项目: 在项目上右键 -> Properties -> Java Compiler -> Enable Project specific settings(去掉后,响应全局的编译级别的设定)
7.快捷键冲突/失效
a) main,sysout等快捷键: General -> Keys ->Content Assist的快捷键设为:Alt+/ when:Editing Text
并将与之冲突的快捷去掉。
b) 将format的快捷键改成Ctrl+Shift+F
8.控制台文字、背景等颜色设置:
Run/Debug ->Console
|
|