How to get Java API source code to show up . . .

Dear All,

I have downloaded Sun's Java API source code for Java 1.4.2. I'd like to know how I might be able to get IDEA to recognize these .java files. For instance, if I want my debugging session to go into API files, is this possible? Or for instance, if I want to go to the declaration of an API method I used, I'd like IDEA to jump write to the API .java source file that contains the actual code (say for something like BufferedReader.mark()).

Any help is welcome. I'm using IDEA version 4.03. Thanks.

1 comment
Comment actions Permalink

Peter wrote:

Dear All,

I have downloaded Sun's Java API source code for Java 1.4.2. I'd like to know how I might be able to get IDEA to recognize these .java files. For instance, if I want my debugging session to go into API files, is this possible? Or for instance, if I want to go to the declaration of an API method I used, I'd like IDEA to jump write to the API .java source file that contains the actual code (say for something like BufferedReader.mark()).

Any help is welcome. I'm using IDEA version 4.03. Thanks.


Open Settings/JDK&Global libraries and attach sources there. It's enough to point to a src.zip

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.