Bug 88017

Summary: ability to hide the .moc.cpp results in the grep output
Product: [Developer tools] kdevplatform Reporter: Diederik van der Boor <vdboor>
Component: grepviewAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: 1.3.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Diederik van der Boor 2004-08-25 10:53:53 UTC
Version:           3.1.0 (using KDE 3.3.0, Gentoo)
Compiler:          gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
OS:                Linux (i686) release 2.6.7-gentoo-r11

When using the grep frontend, I often encounter a lot of hits in .moc.cpp files. I hope it is possible to filter these results out, or even show a checkbox ("Include search results from auto-generated .moc.cpp files") in the preferences panel for those who are interested in the .moc.cpp files.

Thanks in advice.
Comment 1 Jens Dagerbo 2004-08-29 01:29:29 UTC
This is a bad idea. The greppart is supposed to be language neutral and cluttering the UI with a ".moc.cpp checkbox" makes absolutely no sense in a Perl project.

Maybe the file pattern selection could be extended however.
Comment 2 Diederik van der Boor 2005-01-07 01:30:57 UTC
Agreed. If I understand this correctly, this would always filter the .moc.cpp files?
Comment 3 Matthew Woehlke 2005-11-17 16:36:19 UTC
I am submitting a patch that allows you to specify exclusion patterns in the GREP frontend. It's intended for directories, but you can specify ".moc.cpp" as a pattern to achieve what you want. See Bug 116567 for the patch.

Suggesting that this duplicates Bug 116567...
Comment 4 Andreas Pakulat 2008-06-29 20:46:51 UTC
*** Bug has been marked as fixed ***.