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 204985 - [Find Usages] Find Class -> opened projects search only in first opened project
Summary: [Find Usages] Find Class -> opened projects search only in first opened project
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: PC All
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 11:47 UTC by asenk
Modified: 2011-11-23 14:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description asenk 2011-11-11 11:47:51 UTC
Product Version: NetBeans IDE Dev (Build 201111100600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System:
1.Start IDE with clean user dir.
2.Create new J2SE Sample project: AnagramGame
3.Open StaticWorldLibrary.java
4.Put caret over String in declaration of method getWord(...)
5.Invoke Find Usages action from the popup menu. 
6.Select Find Usages radio button and check that scope is set only to Open projects, confirm it by Find button. 

RESULT: 14 occurrences

7.Create second J2SE Sample project: AnagramGame2
8.Open StaticWorldLibrary.java from AnagramGame2
9.Repeat steps 4-6

RESULT:14 occurrences, In result are occurences just from AnagramGame, no usage of String is found in AnagramGame2.
Comment 1 Jan Becicka 2011-11-11 14:32:55 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/699cbcddba48
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2011-11-11 15:30
Message:   
Issue #204985 - [Find Usages] Find Class -> opened projects search only in first opened project
Comment 2 Quality Engineering 2011-11-12 16:31:53 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/699cbcddba48
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #204985 - [Find Usages] Find Class -> opened projects search only in first opened project