<p>Hi,<br>
with the file browser plugin one can easily filter out files by name patterns (in a new sidebar tab named "Files" in case you don't know that). Unfortunately, the check that prevents elements added to the viewed list (<code>check_filtered()</code>) is guarded by a <code>if (dir)</code> (literally :):<br>
<a href="https://github.com/geany/geany/blob/bf5c9eddd8a500577719af7fc7f1c1ffb8044a49/plugins/filebrowser.c#L255">https://github.com/geany/geany/blob/bf5c9eddd8a500577719af7fc7f1c1ffb8044a49/plugins/filebrowser.c#L255</a><br>
I have not tried it but I don't expect any problems if it's applied to all elements, i.e. to directories as well. Would you accept a patch that adds this?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/817">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0g6np9Iy2bPKRYCXOg0eF5eskg6ks5vJDjcgaJpZM4aeQ2g">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ-yiklU7tETgGJBPLAGgl3cFEpV5ks5vJDjcgaJpZM4aeQ2g.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"File browser plugin: filtering directories (#817)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-plugins/issues/817"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/817",
"url": "https://github.com/geany/geany-plugins/issues/817",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>