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 258191

Summary: search in dependencies
Product: java Reporter: IfElseTrue
Component: SourceAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description IfElseTrue 2016-03-01 09:57:13 UTC
1. create a maven project with an external dependency
2. right click on Dependencies, download sources
3. Open a .class file in a jar of a dependency, so you can see the source code along with syntax highlighting, variable occurrences etc. You can also search for a string in file. It behavior is almost like the regular source code file.

4. You cannot search for a string in all .class files of the current dependency, even though you can search in every single file

Expected behavior would be to click on dependency jar and be able to find all occurrences of the search string in all .class files
Comment 1 Svata Dedic 2016-04-25 14:34:06 UTC
It's possible to decompile an individual file. It is not really efficent to pretend the file has different contents for Find operation - and decompile them on the fly.
Comment 2 IfElseTrue 2016-05-13 08:19:43 UTC
(In reply to Svata Dedic from comment #1)
> It's possible to decompile an individual file. It is not really efficent to
> pretend the file has different contents for Find operation - and decompile
> them on the fly.

why decompile, if the sources were already downloaded (step 2)?