2013年8月10日

设置Myeclipse中的代码格式化、注释模板及保存时自动格式化

摘要: 1:设置注释的模板:下载此模板: codetemplates.xml搜索Dangzhang,将其改为你自己的姓名,保存打开eclipse/myeclipse选择 window-->Preferences-->JAVA-->Code-->Code Templates 右边点Import 选择你写好的模板.xml文件导入进去即可2:设置格式化的模板:格式化模板:eclipse-formatter.xml格式化模版方法同上,只是不是选择Code Templates ,而是选择Formatter。3:保存时自动格式化代码:打开eclipse/myeclipse选择 window 阅读全文

posted @ 2013-08-10 17:04 sixiiweb 阅读(27212) 评论(0) 推荐(3)

设置eclipse/myeclipse的智能提示

摘要: 打开eclipse/myeclipse选择 window-->Preferences-->JAVA-->Editor-->单击Content Assist–>在右边找到Auto Activation区域–>在区域内找到Auto activation triggers for java-->把右边的输入框的内容替换为:abcdefghijklmnopqrstuvwxyz.ABCDEFGHIJKLMNOPQRSTUVWXYZ_保存即可。 阅读全文

posted @ 2013-08-10 17:00 sixiiweb 阅读(328) 评论(0) 推荐(0)

导航