2

Is there a way to see/attach the Javadocs and/or source code for basic classes (like String) in IntelliJ?

I'm using IntelliJ Community Edition 11.1

Chip
  • 3,226
  • 23
  • 31

2 Answers2

4

When you add new JSDK, sources are configured automatically:

JSDK Sourcepath

If your JDK installation is missing sources, you will need to download and configure them manually. Mac users should refer to this answer.

When you have sources attached to the JSDK configuration, navigating to the class will open source code instead of decompiled stub and you can also use View | Quick Documentation based on the javadoc in the source files.

Community
  • 1
  • 1
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
0

Have a look at productivity tips:

http://www.jetbrains.com/idea/documentation/tips/index.html

duffymo
  • 305,152
  • 44
  • 369
  • 561