<p>For searching in files, ProjectOrganizer just uses Geany's standard search using grep and there's no API in Geany that would allow ProjectOrganizer pass the ignored files/directories to Geany. In fact, Geany itself doesn't support patterns for excluded files/directories - the reason is that <code>--exclude</code> and <code>--exclude-dir</code> parameters of grep aren't present in older versions of grep and it's not guaranteed they would work.</p>
<p>There's nothing that could be done in the plugin to address this issue. Plugins cannot add extra parameters to grep - it's done by Geany when using the "Project" settings in the "Find in Files" dialog and when patterns are entered in the Geany's part of the Project settings.</p>
<p>As a workaround I'd suggest selecting "Extra Options" in the Find in Files dialog and entering <code>--exclude-dir=pattern</code> where <code>pattern</code> corresponds to the directories you want to ignore.</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/691#issuecomment-364795486">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3AWhOf7YX7SCRcR2d7NbcHfSd4bks5tT2lGgaJpZM4SBFrG">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ3nmEPvS4DgwgLk3wcOfv31fQREsks5tT2lGgaJpZM4SBFrG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany-plugins/issues/691#issuecomment-364795486"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"PERSON","message":"@techee in #691: For searching in files, ProjectOrganizer just uses Geany's standard search using grep and there's no API in Geany that would allow ProjectOrganizer pass the ignored files/directories to Geany. In fact, Geany itself doesn't support patterns for excluded files/directories - the reason is that `--exclude` and `--exclude-dir` parameters of grep aren't present in older versions of grep and it's not guaranteed they would work.\r\n\r\nThere's nothing that could be done in the plugin to address this issue. Plugins cannot add extra parameters to grep - it's done by Geany when using the \"Project\" settings in the \"Find in Files\" dialog and when patterns are entered in the Geany's part of the Project settings.\r\n\r\nAs a workaround I'd suggest selecting \"Extra Options\" in the Find in Files dialog and entering `--exclude-dir=pattern` where `pattern` corresponds to the directories you want to ignore."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-plugins/issues/691#issuecomment-364795486"}}}</script>