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 256100

Summary: Unfriendly Find
Product: cnd Reporter: soldatov <soldatov>
Component: -- Other --Assignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2015-10-22 12:37:36 UTC
We will create project and find some substring (EXTERNAL)

CMakeLists.txt:
================================================
cmake_minimum_required (VERSION 2.6)
project (test0)

set(SOURCES test0.c)

add_executable (test0 ${SOURCES})
================================================

test0.c
================================================
int main(int argc, char** argv) {
      return 0;
}
================================================

Scenario:
- Create source based project (select Automatic mode)
- Call Context menu on project node and select Find

1) default search display 1 item only (configurations.xml)
2) select folder in Scope field (a lot of mouse clicks). 4 matches in 3 files (CMakeCache.txt, build.make and configurations.xml)
3) select Grep tab and IDE found 6 matches (NetBeans duplicates all items)

P.S. Also via grep I can find in .o files, but "Default Search" ignores these files
Comment 1 Alexander Simon 2016-07-14 14:36:38 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/7538943aeba2
Comment 2 Quality Engineering 2016-07-15 01:48:21 UTC
Integrated into 'main-silver', will be available in build *201607150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7538943aeba2
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #256100 Unfriendly Find