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 251989

Summary: Add scope="Current file" into "Edit -> Find in Projects"
Product: utilities Reporter: NukemBy
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description NukemBy 2015-04-22 13:55:24 UTC
Rather frequently I need to get summary of search results in Current File only - the one which is displayed for "Edit -> Find in Projects". The closest currently available functionality is scope="Open Documents", but it ...
- is not handy when I have 50 other files open (which actually just pollute the result).
- it applies "file name pattern" filter, which i need to reset to '*' between search.

Adding scope="Current file" (which should not use value in "File Name Patterns") will greately simplify that use-case.
Comment 1 Jaroslav Havlin 2015-08-12 12:34:02 UTC
Another workaround is Ctrl+Shift+F in editor and scope Selection. But the value of "File Name Patterns" is still used.