Bug 402207

Summary: Improve default search filter
Product: [Applications] kdevelop Reporter: Gregor Mi <codestruct>
Component: UI: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist Keywords: junior-jobs
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0

Description Gregor Mi 2018-12-16 20:24:07 UTC
Currently, when starting a project-wide file search with Ctrl+Alt+F, the following is default:

- Limit to Project files: false
- Files: *.h,*.hxx,*.hpp,*.hh,*.h++,*.H,*.tlh,*.cpp,*.cc,*.C,*.c++,*.cxx,*.ocl,*.inl,*.idl,*.c,*.m,*.mm,*.M,*.y,*.ypp,*.yxx,*.y++,*.l

For KDE development - especially for newcomers - it would be helpful if *.txt,*.xml,*.rc were also part of that list.
Comment 1 Kevin Funk 2018-12-16 20:25:52 UTC
Agreed, please just propose a patch.
Comment 2 Gleb Popov 2019-01-08 16:57:23 UTC
Git commit 16c8d3c661a753b6e4fcfda0faf63d566e38d0a8 by Gleb Popov.
Committed on 08/01/2019 at 16:54.
Pushed by arrowdodger into branch 'master'.

GrepView: Extend default file extensions to search

Summary:
Extends the default file extensions to search by *.txt,*.xml,*.rc as proposed in: https://bugs.kde.org/show_bug.cgi?id=402207

Also extends the header extensions by *.cuh (CUDA headers) and the C sources by *.cu (CUDA sources).

Test Plan: Tested it manually. Note: If one manually changed the file extensions in a session before, the new defaults won't show up there since they are overridden by the previously modified value.

Reviewers: #kdevelop, arrowd

Reviewed By: arrowd

Subscribers: kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D17892

M  +3    -3    plugins/grepview/grepdialog.cpp

https://commits.kde.org/kdevelop/16c8d3c661a753b6e4fcfda0faf63d566e38d0a8