[Github-comments] [geany/geany-plugins] ProjectOrganizer: Find in Project Files does not respect ignored files and ignored directories. (#691)

Jiří Techet notifications at xxxxx
Sun Feb 11 22:27:18 UTC 2018


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.

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.

As 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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/691#issuecomment-364795486
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180211/963c0616/attachment.html>


More information about the Github-comments mailing list