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 126434

Summary: 'Find Usages' doesn't search occurrences in all opened projects
Product: cnd Reporter: dnikitin <dnikitin>
Component: -- Other --Assignee: Vladimir Voskresensky <vv159170>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description dnikitin 2008-01-31 18:33:27 UTC
Product Version: NetBeans IDE Dev (Build 200801310006)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
--------------------------------------------------
'Find Usages' doesn't search occurrences in all opened projects, rather only in main project

to reproduce:
1) open two Welcome project (Welcome_1 and Welcome_2)
2) open welcome.cc in Welcome_1, select argc and invoke 'Find Usages'
==> 'Find Usages' dialog box appears
3) select 'Open Projects' in Scope combobox on 'Find Usages' dialog box 
4) click Find

I expect to see all occurrences in both projects, but actually I see occurrences only in Welcome_1
Comment 1 Vladimir Voskresensky 2008-02-19 10:09:56 UTC
The actual bug is that cout is not found in both projects.
for local variables it makes sense to hide combobox at all.
Comment 2 Vladimir Voskresensky 2008-02-19 17:17:04 UTC
fixed:
- support search in opened projects for shared objects
- hide Scope combobox for local variables

log: http://hg.netbeans.org/main?cmd=changeset;node=b6f9f5a6d92c
Comment 3 dnikitin 2008-03-31 17:09:54 UTC
Verified in NetBeans IDE Dev (Build 200803302302)