一、myeclipse不能自动提示解决不能自动提示解决设置方法:
设置方法如下:
1、菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾
2、window->Preferences->Java->Editor->Content Assist->Advanced 上面的选项卡中把 Other Java Proposals 选项打上勾就可以了。
更改提示快捷键:
1.选择MyEclipse菜单栏中的Window->preferences;
2.选择General->keys; 3.在右侧中间的窗体中点击word completion后再点击remove binding,在下方的binding中随便输入一个快捷键;
4.然后选择Content Assist点击Remove binding,在binding中输入Alt+/;
5.点击Ok就可以了。
二、myeclipse选择项目编译后文件存放目录,设置如下
步骤:选中项目右键-->Properties-->java Build Path-->Source,然后单击Browse...选择路径即可
三、myEclipse插件菜单 add hibernate capabilities 不可用的解决办法
用myEclipse搭建hibernate框架后,有时搞乱了某些东西后,又想重新加载Hibernate包,但此时 add hibernate capabilities 功能菜单竟然是灰色的,不可用,尤其是初学的朋友往往要重建web项目,一切都要重新来过。
解决办法:到项目的根目录下找到.profile文件,打开在最下方找到,
<natures>
<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
把 hibernate相关项删除,保存。然后选中项目,在进行add hibernate capabilities 操作,即可正常!
一、myeclipse不能自动提示解决不能自动提示解决设置方法:
设置方法如下:
1、菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾
2、window->Preferences->Java->Editor->Content Assist->Advanced 上面的选项卡中把 Other Java Proposals 选项打上勾就可以了。
更改提示快捷键:
1.选择MyEclipse菜单栏中的Window->preferences;
2.选择General->keys; 3.在右侧中间的窗体中点击word completion后再点击remove binding,在下方的binding中随便输入一个快捷键;
4.然后选择Content Assist点击Remove binding,在binding中输入Alt+/;
5.点击Ok就可以了。
二、myeclipse选择项目编译后文件存放目录,设置如下
步骤:选中项目右键-->Properties-->java Build Path-->Source,然后单击Browse...选择路径即可
三、myEclipse插件菜单 add hibernate capabilities 不可用的解决办法
用myEclipse搭建hibernate框架后,有时搞乱了某些东西后,又想重新加载Hibernate包,但此时 add hibernate capabilities 功能菜单竟然是灰色的,不可用,尤其是初学的朋友往往要重建web项目,一切都要重新来过。
解决办法:到项目的根目录下找到.profile文件,打开在最下方找到,
<natures>
<nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
把 hibernate相关项删除,保存。然后选中项目,在进行add hibernate capabilities 操作,即可正常!