This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 223202

Summary: Show JAR name in header of generated file
Product: java Reporter: Jesse Glick <jglick>
Component: NavigationAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal CC: markiewb
Priority: P4    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2012-12-03 19:43:04 UTC
When you open a generated class file, you see a message at the top:

Showing generated source file. No sources are attached to class' JAR file.

Would be better to show the actual code source:

Showing generated source file. No sources are attached to: /home/jglick/.m2/repository/grp/art/1.0/art-1.0.jar

since otherwise it is not necessarily clear which version of the library you are looking at, or in some cases which library period. The tab tooltip is useless as it just points into some gensrc dir in the NB cache (unclear if this could be overridden).