Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#929 Invalid state for "Find in files"

pending
nobody
None
5
2013-01-07
2013-01-07
Ted McCormick
No

The "find in files" feature needs help. The most glaring problem is that if the "find in files" popup window has the option "recurse in subfolders". If this checkbox is ever unchecked then it will always produce the error:
"/bin/grep: Source Code: Is a directory"

There is no situation when you can do a "find in files" without giving grep the -R command, grep is complaining because geany is passing in an obviously invalid argument. I suggest removing the "recurse in subfolders" entirely or at the very least have it default enabled... (why would want to find in files but not recursively? what tool does that???)

I really would the directory would stay at my project root! Why do you fight with the user over this? Overall geany is awesome but the "find in files" is super annoying. I just end up using grep on the CLI!

Discussion

  • Lex Trotman
    Lex Trotman
    2013-01-07

    Works for me with Geany 1.23 (git >= 83e7afc) with grep (GNU grep) 2.10 with and without recurse set.

    What platform, Geany version and grep version are you using?

    BTW Geany uses -r not -R

    Non recursive is to limit the search to save time, think a large tree on a remote file system.

     
  • Lex Trotman
    Lex Trotman
    2013-01-07

    • status: open --> pending