Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find in file not working in geany on ubuntu 16.04 #2435

Open
raghuirs opened this issue Aug 9, 2017 · 11 comments
Open

Find in file not working in geany on ubuntu 16.04 #2435

raghuirs opened this issue Aug 9, 2017 · 11 comments
Labels
can't reproduce A developer couldn't reproduce the issue

Comments

@raghuirs
Copy link

raghuirs commented Aug 9, 2017

grep -nHIF -- $mail = new Mail(); (in directory: /drive2/www/html/opcsupportocmod/opcsupport_2031/)
/bin/grep: .idea: Is a directory
/bin/grep: admin: Is a directory
/bin/grep: catalog: Is a directory
/bin/grep: image: Is a directory
/bin/grep: system: Is a directory
Search failed.

@raghuirs raghuirs changed the title Find in file not working in ubuntu 16.04 Find in file not working in geany on ubuntu 16.04 Aug 9, 2017
@elextr
Copy link
Member

elextr commented Aug 9, 2017

The directory messages are normal with a non-recursive grep command.

As for the search failed, not knowing what is in your files can't say if it should or not.

@lpaulsen93
Copy link
Contributor

@raghuirs: can this be closed?

@raghuirs
Copy link
Author

raghuirs commented Aug 22, 2017 via email

@elextr
Copy link
Member

elextr commented Aug 22, 2017

@raghuirs whilst @LarsGit223 may be a little premature on the closing, you need to provide more information on what you think does not work if you expect any progress. As I said the messages you posted are normal and expected.

@lpaulsen93
Copy link
Contributor

@raghuirs:
Hi, as @elextr wrote, do you have any more information for us to describe the problem in more detail?
What is the expected result? How does the directory structure look like and in which files should the text be found? Could there be any permission problems?...

@lpaulsen93
Copy link
Contributor

I cannot reproduce your problem. If I put the line $mail = new Mail(); then it is found by find in files. Of course, if the whitespace is not matching, e.g. a tab instead of a single space then there is no match.

@grubernd
Copy link

Can confirm this. (xubuntu 16.04 / geany 1.27) - using "Find in Files" in geany returns "No matches found" while the exact same command run in the folder with bash returns all the matches as expected.

@lpaulsen93
Copy link
Contributor

@grubernd: could you provide an example file and search string so that we can reproduce the problem?

@grubernd
Copy link

@LarsGit223 .. I would, but of course now it works .... for the first time. The only thing I did different was create a new file and search for some string in it. From then on it worked with any string. But also in other instances, which it did not before. Very weird. I know that the commands were identical.

I took a look at the source code, but that style of coding is not my kind of sports, so no clue what's actually going on.

@elextr elextr transferred this issue from geany/geany-plugins Feb 12, 2020
@elextr
Copy link
Member

elextr commented Feb 12, 2020

Find in files is part of Geany, not plugins, issue transferred.

@elextr elextr added the can't reproduce A developer couldn't reproduce the issue label Feb 12, 2020
@b4n
Copy link
Member

b4n commented Feb 14, 2020

The OP simply looks like the Recurse in subfolders option from the Find in Files dialog wasn't enabled. It is not enabled by default, which might be a bad idea, but activating it should fix the original issue (all those "is a directory" messages).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce A developer couldn't reproduce the issue
Projects
None yet
Development

No branches or pull requests

5 participants