随笔分类 -  Eclipse

Eclipse 设置识别成员变量前缀
摘要:windows-->preference-->java-->code style如下图: 阅读全文

posted @ 2014-10-17 23:12 elm 阅读(278) 评论(0) 推荐(0)

Eclipse search 结果每次在同一窗口打开
摘要:Eclipse中search到的文件,每次打开都会在同一窗口显示,更改此配置:Disable the optionPreferences > General > Search > Reuse editors to show matches 阅读全文

posted @ 2014-06-22 09:35 elm 阅读(602) 评论(0) 推荐(0)

Eclipse 自动添加类注释
摘要:打开Windows->Preferences->Java->Code Style->Code Templates,点击右边窗口中的Comments,可以看到有很多选项,我们便可对此注释信息模板进行编辑。如我们希望在一个Java文件的开头设置作者信息、日期信息, 选择Types,点击Edit,加入自己的注解template.Reference: http://www.eoeandroid.com/thread-178374-1-1.html 阅读全文

posted @ 2013-12-05 16:57 elm 阅读(255) 评论(0) 推荐(0)

File search设置
摘要:Eclipse中file search的快捷键是ctrl + H,但在当在JAVA文件中时,ctrl+H默认打开的是JAVA Search,修改使Ctrl + H直接打开file search in JAVA editor.Go toPreferences>General>KeysType "file search" in the search box.Put the caret into theBindingtext box and press the key combination you want to use.Reference: http://stac 阅读全文

posted @ 2013-09-26 13:01 elm 阅读(393) 评论(0) 推荐(0)

Copy code from eclipse to word, save syntax.
摘要:在做code review时,需要将代码copy到word中,如何保留代码的格式(字体,颜色等)呢?至少在JUNO中,只要代码not fold,就可以copy syntax.FIX: Eclipse > Preferences > Java > Editor > Folding > Enable FoldingReference: http://www.jroller.com/ethdsy/entry/copy_paste_code_from_eclipse 阅读全文

posted @ 2013-09-26 11:25 elm 阅读(196) 评论(0) 推荐(0)

导航