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 255011 - Find usages - seach in comments result depends on scope
Summary: Find usages - seach in comments result depends on scope
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-04 15:34 UTC by Jiri Prox
Modified: 2015-09-09 01:24 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 Jiri Prox 2015-09-04 15:34:17 UTC
Result of Find Usages (seach in comments) depends on selected scope

Steps to reproduce:
1) i have a code:
public class ClassA {
 
    int i;  
    /** Creates a new instance of ClassA */
    public ClassA() {
        // i = 3;
    }
    
}

2) call Find Usages on i
3) set search in comments, set scope to current file
-> 1 usage is found
4) set search in comments, set scope to something different than current file 

-> no usages found


Product Version: NetBeans IDE Dev (Build 201509030002)
Updates: Updates available
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Ralph Ruijs 2015-09-08 13:40:51 UTC
changeset:   4277030cdd91
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Tue Sep 08 15:21:05 2015 +0200
summary:     #255011 - Find usages - seach in comments result depends on scope
Comment 2 Quality Engineering 2015-09-09 01:24:33 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4277030cdd91
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #255011 - Find usages - seach in comments result depends on scope