<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 27 Oct 2018, at 19:03, Jacob Carlborg wrote:</p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">By default TextMate won’t show hidden files (files starting with a dot) in the file browser. It’s possible to configure TextMate to show some of these files anyway, I’ve done that for files like .travis.yml. When doing a project wide search it won’t search those files, even though they’re visible in the file browser. Is that a bug, missing feature or an additional setting?</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">The file browser has its own glob: The contents of the “matching” field.</p>
<p dir="auto">Since <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">*</code> does not match hidden files, you will need to also update this pattern to include <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">.travis.yml</code> and friends.</p>
<p dir="auto">It’s problematic to combine the file dialog’s glob with the global include/exclude patterns, because it would then be hard to limit the set of searched files without also editing the global patterns.</p>
<p dir="auto">What could perhaps be an option is to allow enabling/disabling the find dialog’s pattern, so when disabled, it would use the global patterns. Perhaps empty pattern should just be = use global patterns.</p>
<p dir="auto">Personally though, I basically always have custom find dialog patterns for my various projects, e.g. exclude <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">vendor/</code>, generated content, etc.</p>
<p dir="auto">Though let me also say that I do think that there are too many include/exclude patterns that can be configured in TextMate, it’s something I would like to simplify, and I’ve added a note about this issue to my design document.</p>
</div>
</div>
</body>
</html>