Eclipse

1.EasyExplore 插件 (见附件)
org.sf.easyexplore_1.0.4.jar
直接将该jar文件放置在eclipse的 plugin 目录下 ,然后重启eclipse平台就可以在右键中看到East Explorer菜单项,就可以打开资源所在的目录了

2.Maven 插件
http://m2eclipse.sonatype.org/sites/m2e
http://m2eclipse.sonatype.org/sites/m2e-extras

3.Properties 插件
http://propedit.sourceforge.jp/eclipse/updates/

4.hibernate 插件
安装:http://download.jboss.org/jbosstools/updates/development/indigo/
选择JBoss Web and Java EE Development展开后选择Hibernate Tools工具
使用:http://hi.baidu.com/hjzheng/item/f57490965c5e30b082d29549

5.关闭鼠标悬停提示功能(主要是变量类型声明和Doc帮助提示)
方法如下: Window->Preferences->Java->Editor->Hovers 将[Combined Hover]取消即可

6.eclipse编辑web.xml很卡的原因及解决办法
原因是web.xml中的版本信息不对,这个要根据你的servlet版本和运行环境来修改。
参考办法:修改"http://java.sun.com/xml/ns/j2eehttp://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" 为"http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd".

7.Eclipse – Show Workspace Location in Title Bar
The -showLocation parameter causes Eclipse to show the current workspace name in the title bar of the application window (as well as the perspective name for the open perspective).

To add this to your Eclipse configuration (in Windows) is very easy:
Just right-click the shortcut you use to open Eclipse, and select 'properties'.
Then, add "-showLocation" (without the quotes) to the end of the "Target" line.

My shortcut target was: C:\ECLIPSE35\eclipse\eclipse.exe 3.5
Now it looks like this: C:\ECLIPSE35\eclipse\eclipse.exe 3.5 -showLocation

from:http://www.miuaiga.com/index.cfm/2009/9/3/Show-open-workspace-name-in-Eclipse-title-bar

7.保留原有插件,快速升级Eclipse发行版本

嗯,以前都是通过Check for Update升级。

但是这种方式一来网慢,二来有些时候还真升不上去。比如我之前的Eclipse 4.2,是从Milestone版本一路升级上来的。最后一个RC之后本来应该直接升级到GA的,但是不知道为什么,升级完后版本号没有变化。

突然想到Eclipse 3.7以后有一个功能是通过已经安装的Eclipse装一些插件。正好可以用来快速升级:

把原来的Eclipse文件夹修改成Eclipse_old,然后直接官网下载最新发行版本(还有BT种子方式下载)。启动后,选择File->Import->Install->From Exist Installation,选择旧的Eclipse安装文件夹……

以前装的插件都出现了。直接全选安装,瞬间就从本地的安装中把原来的插件都迁移过来了。

而其它设置是跟着workspace走的,所以指向到同一个workspace就行了。

另外,jdeclipse官网貌似挂掉了,所以也没法通过网络安装了,现在想装jdeclipse也只能通过这种方式装了(以前装过的别乱删,删了就彻底没了)。

最后记得,这样装完之后,update站点是没有导入的(update站点和网络代理设置之类的是跟着Eclipse程序目录走的,而不是存在workspace里),所以记得手工加一下站点,不然以后各个插件的升级通知就都收不到了。

8.eclipse中java项目转换为web项目
1、进入项目目录,可看到.project文件,打开。
2、找到<natures>...</natures>代码段。
3、在第2步的代码段中加入如下标签内容并保存:
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
4、在eclipse的项目上点右键,刷新项目。
5、在项目上点右键,进入属性(properties)
6、在左侧列表项目中点击选择“Project Facets”,在右侧选择“Dynamic Web Module”和"Java",点击OK保存即可。

9.Abator —— IBatis 代码生成工具
xml示例见附件
http://rainbow686.iteye.com/blog/138361
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值