<table><tr><td style="">neundorf added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9901" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D9901#191667" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D9901#191667</a>, <a href="https://phabricator.kde.org/p/sars/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;" rel="noreferrer">@sars</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>According to my tests build* does work as expected, but build/* does not work. I'm actually a bit surprised that the latter works in "Project" mode.</p>
<p>Basically this change would make it possible to exclude only directories with a "xxxx/*" pattern, at a the cost of a bit slower generation of the search-files-list as it would always iterates over the whole path+filename.</p></div>
</blockquote>
<p>First I also thought about the "a bit slower", but then, this is just filering the filenames, and afterwards the content of each file is read and searched, so I think it doesn't matter.</p>
<blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D9901#192094" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D9901#192094</a>, <a href="https://phabricator.kde.org/p/sars/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;" rel="noreferrer">@sars</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>I did a quick test and the xxxx/ works, but at the same time I noticed that I do very similar filtering separately for the project plugin. I think I need to move the filtering to one function in FolderFilesList and maybe remove "Folder" from the class name...</p></div>
</blockquote>
<p>Are you saying that your first comment was wrong and the patch does indeed work as it should ?<br />
Without the patch only the filename is checked, so no directories.<br />
I also noticed that there is some duplication...</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9901" rel="noreferrer">https://phabricator.kde.org/D9901</a></div></div><br /><div><strong>To: </strong>neundorf, sars, kwrite-devel<br /><strong>Cc: </strong>michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann<br /></div>