Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

missing javadoc detail in intelliJ

Just switch the IDE from Eclipse to intelliJ, when I use ctrl+q to try to pop up more explainations for the method, it shows no details like this. How can I fix it to get same information as Eclipse does?

enter image description here

like image 283
Tim Avatar asked Jan 04 '23 12:01

Tim


1 Answers

This is because you didn't set Java source path in the project structure dialog.

Go to File > Project Structure and select SDKs from the left side. Then select your project JDK level (In your case it should be 1.8) and add JDK source path in Sourcepath tab.

Usually it should be named as src.zip and placed inside your JDK folder.

enter image description here

like image 164
Chathura Buddhika Avatar answered Jan 06 '23 01:01

Chathura Buddhika