<table><tr><td style="">rjvbb 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/D7742" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Can't come up with proper solution right away, but I also don't like adding more checkboxes.</pre></div></blockquote>
<p>I'd strongly advise against anything that involves automatic detection when watchers should be added or not. One thing that we might be able to do is not setting watchers on directories matching the project's exclude filter; that would address your issue with the build dir. <tt style="background: #ebebeb; font-size: 13px;">AbstractFileManagerPlugin::import()</tt> would become much bigger though (finding all matching items and invoking KDirWatch::remove{Dir,File}) for them) and you'd probably also want to do this when the project filter changes.</p>
<p>Of course the default can be OFF in set-ups where KDirWatch is known not to work properly (or be especially expensive).</p>
<p>In defense of "my" checkbox: the "Projects" settings pane is mostly empty for now ;)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7742" rel="noreferrer">https://phabricator.kde.org/D7742</a></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop<br /><strong>Cc: </strong>arrowdodger, brauch, zhigalin, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight<br /></div>