Eclipse工作空间的基本配置与注释快捷键
行号的显示和隐藏
显示:在代码区域的最左边的空白区域,右键-- Show Line Numbers即可。
隐藏:把上面的动作再做一次。
字体大小及颜色
a:Java代码区域的字体大小和颜色:
window – Preferences – General-- Appearance – Colors And Fonts – Java – Java Edit Text Font
b:控制台(类似a步骤过程)
window – Preferences --General – Appearance – Colors And Fonts – Debug – Console font
c:其他文件(类似a步骤过程)
window – Preferences --General – Appearance – Colors And Fonts – Basic – Text Font
窗体给弄乱了,怎么办?
window – Perspective – Reset Perspective
控制台找不到了,怎么办?
Window–Show View—Console
注释快捷键
单行 选中内容,ctrl+/, 再来一次取消
多行 选中内容,ctrl+shift+/, ctrl+shift+\
格式化 ctrl+shift+f