Community
Participate
Working Groups
If I include an external jar my project, I can do things like explore the methods in a class (in the jar file) using the package explorer. If I double-click a method, then the details pane shows me a generic "Class File Editor/Source not found" view of the class. I can then click the "Attach Source..." button to point to the source location for the jar file, after which the relevant source file is opened in the editor - but at the top of the file, NOT at the method I had double-clicked. I think it would be helpful if the "Attach Source" function somehow remembered the action which caused the Class File Editor to be displayed, and then re-performed the action after the correct source is attached. (Actually, I normally come across this when debugging a stack trace - I click an item in the trace, expecting to be taken to a particular line in a class, and if along the way I have to "attach source" then I have to re-click the item in the stack trace to get to the relevant line.)