kroissma
kroissma

Reputation: 21

Intellij method parameter openjdk

I am using Linux Mint with IntelliJ and OpenJDK8. On Windows I can remember that IntelliJ showed the parameter names like in the API doc.

Now I just get some short names like s, l or i, etc.

Example: Thread.sleep: the hints should be

sleep(long millis); and  
sleep(long millis, int nanos);

But they are currently

sleep(long l); and  
sleep(long l, int i);  

like you can see in the picture.

In the project structure, the documentation path is already set to https://docs.oracle.com/javase/8/docs/api/.

Is this a problem with OpenJDK?

Parameter Name

Upvotes: 0

Views: 73

Answers (1)

kroissma
kroissma

Reputation: 21

I solved that issue: First I installed the openjdk-8-source. Seems like the archive was only a link to a non existing dir. Now it points to ../openjdk-8/src.zip. After that in the Project Structure in IntelliJ - Platform Settings - SDKs the Sourcepath tab was empty. So I added path to the src.zip dir.

Upvotes: 1

Related Questions