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 - search in dependencies
Summary: search in dependencies
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-01 09:57 UTC by IfElseTrue
Modified: 2016-05-13 08:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)?