您的位置:首页 > 编程语言 > Java开发

2.eclipse中没有代码提示的问题

2014-08-19 12:47 183 查看
1.如何解决eclipse中没有代码提示的问题(例如:Date date = new Date() 输入date.后产生提示代码?)

1.经常打一个点就能调出该对象可选的方法列表。哪天不灵了,可以这样解决:

window->Preferences->Java->Editor->ContentAssist->Advanced 上面的选项卡Select the proposal kinds contained in the 'default'content assist list: 中把
Java Proposals 选项打上勾就可以了

2.window->Preferences->Java->Editor->ContentAssist->Auto Activation中的Auto activation triggerfor java中的.修改为.abcdefghijklmnopqrstuvwxyz

我在网上检索了很多的链接,把上面这两步结合起来能很好的解决问题。

如果上面的两步还不能解决你的问题请看下面的:
http://www.cr173.com/html/26784_1.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: