随笔分类 -  myeclipse

摘要:统一的方法模板制定方法:1. window-preferences,打开方法模板,这里还可以制定其他很多注释2. 选择edit,编辑格式如下/** * <p>功能:</p> * @author 周枫 * @date ${date} * @param * @return ${return_type}*/3. 小技巧,先写方法,写完后在方法前输入"/**"回车,及自动为该方法添加注释,日期,参数,返回值都自动添加/** * * <p>功能:根据ID获取平台更新的MEMO</p> * @author 周枫 * @date 2013- 阅读全文
posted @ 2013-02-19 15:57 东师理想--周枫 阅读(357) 评论(0) 推荐(0)
摘要:今天使用eclipse开发的时候,修改了一下jdk,从1.6修改成了1.7,报错:Unsupported major.minor version 51.0后来经过大量查找,解决方法如下:1. 当前项目为选中模式下(就是鼠标点击一下当前项目名),然后选择“project”--"properties"--"project facets"中的"java"更改为1.72. "window"--"preferences"--"java"--"compiler"中&q 阅读全文
posted @ 2013-01-28 10:51 东师理想--周枫 阅读(2696) 评论(0) 推荐(0)
摘要:import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader; public class MyEclipseGen { private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://ww 阅读全文
posted @ 2012-09-18 16:01 东师理想--周枫 阅读(185) 评论(0) 推荐(0)
摘要:ctrl +shift +r 打开搜索资源框。确定输入文本框右边小三角show status line被选中。随便选一个资源文件。在open resource下面会有资源的目录。找到左侧package explorer显示.class文件夹如果没显示class文件夹按这个步骤:找到package explorer过滤按钮选择过滤Filters,去掉第一个选项即可以显示class文件夹找到class文件夹目录,右击选择属性properties勾选derived再次打开open resource窗口。在右侧三角里面“show derived resources”去掉。OK了 阅读全文
posted @ 2012-03-29 11:24 东师理想--周枫 阅读(658) 评论(0) 推荐(0)