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 161313

Summary: Problem with Find in projects.
Product: utilities Reporter: maikoid <maikoid>
Component: SearchAssignee: Andrey Yamkovoy <kaktus>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description maikoid 2009-03-26 22:10:57 UTC
Hi, I'm with a trouble, I can't make a search in my project. I have pressed Ctrl+Shift+F (Edit->Find in Project) and the
Search window has opened but, if write some common word and click in Find, nothing happening, the result window is not
displayed. Somebody had the same problem on NetBeans 6.5.1?
Comment 1 pbw 2009-04-04 04:04:54 UTC
Not quite the same problem,but may be related.

I have a project that contains .vm files containing Velocity VTL. If I search for the text show_sign_out which is in one
of the .vm files, the search returns no results. If I Ctrl-F in the editor, the incremental search works ok. It doesn't
matter where in the source tree I start the search, including the immediately containing directory.

Searches for text in other file types seem to work as expected.
Comment 2 Andrey Yamkovoy 2009-05-19 07:25:14 UTC
I guess you trying to search through the files which are not allowed to search. So the functionality is worked as expected.
The Find In Projects functionality is searching only the following files:
- files of "content/unknown" mime type and size <= 5Mb
- files of the following mime types: "text/*", "application/rtf", "application/sgml", "application/xml-*",
"application/*+xml", "application/x-csh", "application/x-httpd-eruby", "application/x-httpd-php",
"application/x-httpd-php-source", "application/x-javascript", "application/x-latex", "application/x-php",
"application/x-sh", "application/x-tcl", "application/x-tex", "application/x-texinfo", "application/x-troff".

Note that '*' in mime type means any string.

If the files you are searching are allowed (see the list above) and search still not working for them please reopen the
issue.