Bug 323429

Summary: JJ: kateproject files property cannot exclude files
Product: [Applications] kate Reporter: Patrick Spendrin <ps_ml>
Component: applicationAssignee: Patrick Spendrin <ps_ml>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: christoph, kwrite-bugs-null, pascal+kde
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: unspecified   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Spendrin 2013-08-12 20:04:55 UTC
if I add a kateproject file to my projects, I cannot exclude e.g. the build folder. It would be much nicer to have QRegExp support in there.
Comment 1 Dominik Haumann 2013-08-13 15:42:41 UTC
If you use version control, the build folder is excluded. Other than that, care to send a patch? ;)
Comment 2 Patrick Spendrin 2013-08-14 08:42:13 UTC
Well, the question I had was:
this probably requires a new field, something like 're_filters' or something since I don't think one can easily distinguish between the two. What do you think?
Comment 3 Dominik Haumann 2013-08-14 09:04:33 UTC
Why not add "exclude": ["*build*", ... ]

Example:
{
"name": "Test"
, "files": [ { "directory": ".", "filters": ["*.html"], "recursive": "1", "exclude": ["*build*", "*~*"] } ]
}

I'd think this is a rather trivial patch.
Comment 4 Pascal Niklaus 2014-11-26 10:07:39 UTC
I would like to second that (was about to file a feature request).

To give an example:

In a project, I would like to show all "*.c" files. However, the tools I am using create, fore each .c file, some file with the extention .c.c, which I want to exclude in the project view. 

Without a full regular expression matching, or the ability to have an "exclude" list in the filters that takes priority over the includes, I am unable to achieve this.
Comment 5 Christoph Cullmann 2019-05-19 14:57:53 UTC
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it.

The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs.

Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users.
If you want your feature to be implemented, please step up to provide some patch for it.

If you think it is really needed, you can reopen your request, but keep in mind,
if no new good arguments are made and no people get attracted to help out to implement it,
it will expire in a year again.

We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it.

Patches can be handed in via https://phabricator.kde.org/differential/

Greetings
Christoph Cullmann