Reputation: 9702
In my eclipse, when i check for method help with ctrl+space i see the method parameters are showing like strings, int as arguments. Not showing like, string name/int id .
getAttribute(String arg0)
How can i make the eclipse to show the method as getAttribute(String name)
This is really difficult to me identify which param i should pass fro a method. Any idea, where should i set the settings?
Upvotes: 1
Views: 1569
Reputation: 10698
This problem happens when eclipse can't find the source or attached Javadoc, since java argument names are usually not present in the .class
files (it would only be present in debug, and not for the interfaces).
You can check if a source or a documentation is attached using the helper F3
.
You can increase the timeout eclipse uses for fetching a parameter name from attached Javadoc in the settings.
You can also attach the corresponding documentation jar or source jar as a dependency in order to allow eclipse to look-up the corresponding source.
Upvotes: 2