myEclipse设置

来源:互联网 发布:17173天谕捏脸数据 编辑:程序博客网 时间:2024/05/17 22:02

1.使打开myEclipse不做checking for updates(检查更新)的方法:

①Window --> Preferences --> General --> Startup and Shutdown --> 在列表中找到 "Automatic Updates Scheduler " 项去掉前面的勾。

②Window --> Preferences --> myEclipse--> Maven4Myeclipse --> Maven --> "Download repository index updates on startup" 去掉前面的勾。

③Window --> Preferences --> myEclipse--> Startup --> "Show MyEclipse Dashboard on startup" 去掉前面的勾。

 

2.使改变myEclipse中的内容后不做校验的方法:

Window --> Preferences --> myEclipse--> Validation--> 勾选掉不需要校验的内容

 

3.myEclipse增大内存(加快打开myEclipse速度):

Window --> Preferences --> java-->installed JREs--> 选中自己用得jdk点击edit--> 在default VM Arguments 中添加-Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -Xms64M -Xmx512M

 

4.通过import的方式导入已有的工程,常常出现java文件中的中文注释乱码的情况,修改Window --> Preferences --> Workspace为GBK仍然乱码(此设置修改后对新建的文件有效),点击工程右键Preferences --> Resource-->Text file encoding选择GBK也不起作用。解决方法使:Window --> General -->  Content Types:Text->Java Source File 在下面输入GBK 点击Update按钮,这样有关java的文件的编码格式就都是GBK,同样也可以设置js及jsp等的编码格式。

 

5.设置tab键占的空格数:Window - Preferences - Java - Code Style --> Formatter 此处可以定义自己风格的代码模板。点击Edit按钮,进入后选择Indentation选项卡,Tab size即是设置的地方。

 

6.myEclipse集成firefly:在安装firefly的过程中可能集成myeclipse失败或忘记集成了,可以在安装完成之后将com.hansky.hscc复制到myeclipse的安装目录下的AppData\Local\Genuitec\MyEclipse 8.x Latest\dropins下,重启myeclipse即可以看到firefly的图标及使用了