Ctrl click class in Eclipse shows binary / jar instead of source

Using Eclipse Version: Helios Service Release 2 Build ID: 20110218-0911

with Android plugin. I have an AndroidUtil Android project that is tagged as a “library” project for my main Android application. When I ctrl + click the name of the class defined in AndroidUtil, I take the binary / jar version of this class instead of the source file. How can I get it to take me to the source code?

+5
source share
2 answers

When you control the mouse and displays the class file editor in the editor area, you should see the "Attach Source" button. Click on it and point it to the library project in the workspace.

+8
source

For those with a newer version of the SDK, this can help check the workaround in this thread http://code.google.com/p/android/issues/detail?id=23685

0
source

All Articles