|
Re: Eclipse suggest meaningless parameter name [message #727238 is a reply to message #727221] |
Tue, 20 September 2011 16:34   |
Eclipse User |
|
|
|
On 20.09.2011 18:29, java_fan wrote:
> Hello,
>
> My Eclipse is showing code completion for method parameters with
> meaningless names, for example:
>
> aString.substring(int arg0, int arg1)
>
> How can I make it show meaningful names, e.g substring(int beginIndex,
> int endIndex) ?
Use a Java SDK which has the source compared to a JRE. Another solution
is to have the Javadoc installed locally. Eclipse can also fetch it from
the web but this can timeout for slow connections in which case you get
arg0, arg1, etc..
Dani
>
> Thanks.
|
|
|
Re: Eclipse suggest meaningless parameter name [message #727239 is a reply to message #727221] |
Tue, 20 September 2011 16:35   |
Eclipse User |
|
|
|
Originally posted by: Rich Kulp
Is this happening on everything, or just on code that is coming from
Java, such as String.
If it is on stuff from Java then I assume you do not have the Java
source attached. It get's the names for arguments out of the source or
java doc and if it can't find them then it can only do arg0, arg1, etc.
--
Thanks,
Rich Kulp
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04858 seconds