[英]How to Configure My Eclipse Java EE IDE for Web Developers to List All Possible Constructors in Intelligence
I'm surprised by the default behavior of my Eclipse Java IDE Intelligence. 我对Eclipse Java IDE Intelligence的默认行为感到惊讶。
If you check the String class: http://docs.oracle.com/javase/6/docs/api/java/lang/String.html , you will see that there are many constructors. 如果您检查String类: http : //docs.oracle.com/javase/6/docs/api/java/lang/String.html ,您将看到有很多构造函数。 But when I type String s = new String(
, it does NOT give me any constructor candidates/prototypes from the Intelligence, which is really disappointing me... (But if I type String.
, it will list all possible candidates) 但是当我输入String s = new String(
,它不会给我任何来自Intelligence的构造函数候选/原型,这真让我感到失望...(但是如果我键入String.
,它将列出所有可能的候选者)
Do you guys know how to configure my IDE? 你们知道如何配置我的IDE吗?
Also it's pretty bad that nothing is displayed in Intelligence when I type String s = new
. 同样非常糟糕的是,当我输入String s = new
时,Intelligence中什么也不显示。 It should give me the String constructor candidates. 它应该给我String构造函数的候选人。
BTW, I'm from C#, Microsoft Visual C# IDE is much better than Eclipse Java IDE in terms of the Intelligence. 顺便说一句,我来自C#,Microsoft Visual C#IDE在智能方面比Eclipse Java IDE好得多。
Please help me find out where I could find the configure options so that my Eclipse IDE Intelligence works better. 请帮助我找出在哪里可以找到配置选项,以便Eclipse IDE Intelligence更好地工作。
You have to go to: 您必须去:
Window > Preferences > Java/Editor/Content Assist
and change the settings, or you can use ctrl + space
. 并更改设置,或者您可以使用ctrl + space
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.