"Find in Projects" Ignores ".h" Files

View: New views
2 Messages — Rating Filter:   Alert me  

"Find in Projects" Ignores ".h" Files

by gstrock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Netbeans 6.7 (Build 200906241340)

C++ 1.5.1

windows XP platform

--------------------------------------------------------------------------------------------------------

My tree:



source

|

-------- app_inc

|

-------- app_src



app_inc includes all .h files

app_src includes all .cpp files

-------------------------------------------------------------------------------------------------------

Problem:  Searching for a term finds hits only in .cpp files, completely ignoring occurrences in .h files.  If I specify "*.h" in the "File Name Patterns" in the "Find in Projects" dialog box it reports "No matching files were found", even when there should be hits.

-------------------------------------------------------------------------------------------------------

I've checked the Property settings on all directories several times.

I've checked Code Assistance settings.

I've checked the settings through the Tools->Options Menu and every other way I could find to check these settings.



Click-Through Navigation works okay.  So I can hover the cursor over a class declaration while holding down the CTRL key and it will take me to the declaration of that class in a ".h" file.



I checked this with an older version of Netbeans (200812180001), C++ (1.5) on the same code base and it works fine.



Is my version of Netbeans broken?  I'm on a locked down network and I can't upgrade Netbeans or the C++ module without a system administrator.





Re: "Find in Projects" Ignores ".h" Files

by Vladimir Voskresensky-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

This is the question for users@...
+ file a bug http://wiki.netbeans.org/IssueReportingGuidelines
against cnd component.

Thanks,
Vladimir.

gstrock wrote:

> Netbeans 6.7 (Build 200906241340)
>
> C++ 1.5.1
>
> windows XP platform
>
> --------------------------------------------------------------------------------------------------------
>
> My tree:
>
>
>
> source
>
> |
>
> -------- app_inc
>
> |
>
> -------- app_src
>
>
>
> app_inc includes all .h files
>
> app_src includes all .cpp files
>
> -------------------------------------------------------------------------------------------------------
>
> Problem:  Searching for a term finds hits only in .cpp files, completely ignoring occurrences in .h files.  If I specify "*.h" in the "File Name Patterns" in the "Find in Projects" dialog box it reports "No matching files were found", even when there should be hits.
>
> -------------------------------------------------------------------------------------------------------
>
> I've checked the Property settings on all directories several times.
>
> I've checked Code Assistance settings.
>
> I've checked the settings through the Tools->Options Menu and every other way I could find to check these settings.
>
>
>
> Click-Through Navigation works okay.  So I can hover the cursor over a class declaration while holding down the CTRL key and it will take me to the declaration of that class in a ".h" file.
>
>
>
> I checked this with an older version of Netbeans (200812180001), C++ (1.5) on the same code base and it works fine.
>
>
>
> Is my version of Netbeans broken?  I'm on a locked down network and I can't upgrade Netbeans or the C++ module without a system administrator.
>
>
>
>
>
>