`
gk23
  • 浏览: 171542 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Eclipse 常用设置

阅读更多

ECLIPSE常用设置

0. 显示空格和tab

Windows->perference->General->Editors->Text Editors, check右边show writespace.

1. eclipse/myeclipse中设置space 替换tab: Java->Appearance->code Style->Formatter, edit当前的profile, 设置Tab policyspace only.

 

2. codecomment的单行最大数也在这个profile中,分别在LineWrappingComments中。

3. 显示最大限制线:general->Editors->Text Editors, check "show print margin".

 

4. alt+/ 不可用的情况:General->Keys中,确保Content Assist 的快捷键是alt+/

when "In Dialogs and Windows"

5. 设置java或js默认编码方式:general -> content type, 选择java或js文件,设置默认编码utf-8或GBK.

6. 设置项目默认编码:每个项目右键property -> resource -> text file coding. 选择合适的编码。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics