MyEclipse 常用操作

1.使用JREBEL插件包实现myeclipse修改类文件后无须重启

在Myeclipse中的window-preferences(搜索tomcat)->然后到tomcatx.x下的-jdk中配置,在optional java VM arguments中填入如下的内容:
-noverify
-javaagent:E:/jrebel.jar         jrebel地址
-Drebel.dirs=D:/Users/lenovo/Workspaces/MyEclipse 8.5/dangdemo/WebRoot/WEB-INF/classes        项目地址
-Drebel.struts2-plugin=true
-Drebel.spring_plugin=true

2.关闭MyEclipse的自动validation
windows > perferences > myeclipse > validation,将Build下全部勾取消

3.修改MyEclipse编辑JSP页面时的编辑工具
Window > perferences > General > Editors > File Associations >
在File types 中选择 *.jsp > 在Associated editors 中将"MyEclipse JSP Editor"设置为默认。
还有XML文件的默认编辑器

4.代码自动提示的设置
window→Preferences→java→Editor→Content Assist→Content Assist→右边的Auto-Activation下面的Auto Activation triggers for java选项填写abcdefghijklmnopqrstuvwxyz

5.设置默认编码
myeclipse默认的新项目的编码是GBK,修改myeclipse的配置,可以使得myeclipse的新建项目的默认编码直接为UTF-8 在菜单栏的Window->Preferences->General->Workspace->Text file encoding 将其改为UFT-8即可。
Window->Preferences->General->Content Types 右边的Text

posted on 2017-01-07 19:45  一路有你一起同行  阅读(146)  评论(0编辑  收藏  举报

导航