Eclipse Function / Method explanation missing
my Eclipse doestn work as i want it in two terms.
Every method i want to use is described with arg0 arg1 arg2 instead of t开发者_如何学Gohe real name for Example: getPrefs.getBoolean(arg0, arg1) instead of getPrefs.getBoolean(key, defValue)
and also the explanation of the functions/methods is completely missing.
would be grateful if somebody could help me.
IIRC you need to have the Javadocs/Source code attached to your project.
Right click on your project and select properties Select "Java Build Path" Then "Libraries" Then whichever is your main Android API, expand and edit to set the "Source Attachment"/"Javadocs"
This should provide the java doc cues
I had the same problem.
- Get src.zip file
Download dk-8u181-linux-x64.tar.gz file from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Extract it. The file contains the src.zip file.
Copy the file in the JDK directory
Attach the file in the Source Attachment Configuration.
Open Eclipse.
Open a Class.
Control+click in a method.
(A window appears which says "No source found")
Click in Attach
Click in External Localitation
Click in External File
Look for the directory with the src.zip file
Attach it.
Control+click
Attach
Youtube explanation
https://www.youtube.com/watch?v=jx9l72NBVC8
精彩评论