Hi.
It will sound easy, but... Thanks for Geany!!! I love it!! Light, simple but totally funtional.
Now the problem ;)
I use a lot the "Search in Files" (I'm on a spanish interface so the translation can be different). But as I work on a SVN checkout I got a lot of false positives on files inside .svn directories.
I think the best way to get rid of them is to filter grep output on another grep and remove lines containing ".svn/".
Is posible to change that on the configuration or is it hardcoded? I have taked a look but didn't found anything.
Thanks in advance. PS. Please excuse my English. It's not my native tonge.
Javier Vilarroig schrieb:
Hi.
It will sound easy, but... Thanks for Geany!!! I love it!! Light, simple but totally funtional.
Now the problem ;)
I use a lot the "Search in Files" (I'm on a spanish interface so the translation can be different). But as I work on a SVN checkout I got a lot of false positives on files inside .svn directories.
I think the best way to get rid of them is to filter grep output on another grep and remove lines containing ".svn/".
Is posible to change that on the configuration or is it hardcoded? I have taked a look but didn't found anything.
Thanks in advance. PS. Please excuse my English. It's not my native tonge.
It would probably better to provide a search in the GeanyVC plugin, which ignores VC folders. Or in the project plugin. I don't really think the core search should have exceptions.
El mié, 25-02-2009 a las 15:27 +0100, Thomas Martitz escribió:
Javier Vilarroig schrieb:
Hi.
It will sound easy, but... Thanks for Geany!!! I love it!! Light, simple but totally funtional.
Now the problem ;)
I use a lot the "Search in Files" (I'm on a spanish interface so the translation can be different). But as I work on a SVN checkout I got a lot of false positives on files inside .svn directories.
I think the best way to get rid of them is to filter grep output on another grep and remove lines containing ".svn/".
Is posible to change that on the configuration or is it hardcoded? I have taked a look but didn't found anything.
Thanks in advance. PS. Please excuse my English. It's not my native tonge.
It would probably better to provide a search in the GeanyVC plugin, which ignores VC folders. Or in the project plugin. I don't really think the core search should have exceptions.
I don't use GeanyVC. And don't think everybody uses it. I'm happy with my old command line svn :)
I can't think on anyone interested on look on the .svn folders.
Anyway, if it seems incorrect to have it removed as a standard, what about been able to change the command run to do the search or the ability to add a postfilter to the search?
On Wed, 25 Feb 2009 15:27:18 +0100 Thomas Martitz thomas.martitz@fhtw-berlin.de wrote:
It would probably better to provide a search in the GeanyVC plugin, which ignores VC folders. Or in the project plugin.
No. I disagree. The VC plugin was not intended to build a whole version control file browser, just a binding to common vcs. And as Enrico already mentioned, it's possible by sending some option to grep directly.
Cheers, Frank
Frank Lanitz schrieb:
No. I disagree. The VC plugin was not intended to build a whole version control file browser, just a binding to common vcs. And as Enrico already mentioned, it's possible by sending some option to grep directly.
Cheers, Frank
Nobody talked about a browser, calm down.
On Wed, 25 Feb 2009 21:55:22 +0100 Thomas Martitz thomas.martitz@fhtw-berlin.de wrote:
Frank Lanitz schrieb:
No. I disagree. The VC plugin was not intended to build a whole version control file browser, just a binding to common vcs. And as Enrico already mentioned, it's possible by sending some option to grep directly.
Cheers, Frank
Nobody talked about a browser, calm down.
;) Just a symbol for too much functionality inside. Sorry for being rude.
On Wed, 25 Feb 2009 13:05:22 +0000, Javier Vilarroig javier.vilarroig@gmail.com wrote:
Hey,
It will sound easy, but... Thanks for Geany!!! I love it!! Light, simple but totally funtional.
Thanks, glad to hear you like it.
I use a lot the "Search in Files" (I'm on a spanish interface so the translation can be different). But as I work on a SVN checkout I got a lot of false positives on files inside .svn directories.
I think the best way to get rid of them is to filter grep output on another grep and remove lines containing ".svn/".
Is posible to change that on the configuration or is it hardcoded? I have taked a look but didn't found anything.
It is actually described in the manual, see http://www.geany.org/manual/current/index.html#filtering-out-version-control...
The trick is to use the 'Extra options' and tell grep to not care about directories like .svn. As also said in the manual, you need a somewhat recent grep version (2.5.2) for the --exclude-dir option.
Either use what's mentioned in the manual: --execlude-dir=.* or use something more explicit (this is my default options string):
--exclude-dir=.svn --exclude-dir=.git --exclude-dir=CVS
PS. Please excuse my English. It's not my native tonge.
No need to excuse, most of us aren't native English speakers :).
Regards, Enrico
El mié, 25-02-2009 a las 18:25 +0100, Enrico Tröger escribió:
On Wed, 25 Feb 2009 13:05:22 +0000, Javier Vilarroig javier.vilarroig@gmail.com wrote:
Hey,
It will sound easy, but... Thanks for Geany!!! I love it!! Light, simple but totally funtional.
Thanks, glad to hear you like it.
You're welcome :) But it's real. I used to work with Visual Studio and Eclipse. And they where like "killing flies with a cannon" (old spanish saying)
I use a lot the "Search in Files" (I'm on a spanish interface so the translation can be different). But as I work on a SVN checkout I got a lot of false positives on files inside .svn directories.
I think the best way to get rid of them is to filter grep output on another grep and remove lines containing ".svn/".
Is posible to change that on the configuration or is it hardcoded? I have taked a look but didn't found anything.
It is actually described in the manual, see http://www.geany.org/manual/current/index.html#filtering-out-version-control...
The trick is to use the 'Extra options' and tell grep to not care about directories like .svn. As also said in the manual, you need a somewhat recent grep version (2.5.2) for the --exclude-dir option.
Either use what's mentioned in the manual: --execlude-dir=.* or use something more explicit (this is my default options string):
--exclude-dir=.svn --exclude-dir=.git --exclude-dir=CVS
It works really nice and saves it betwewwn sessions !!
That demonstrates that I didn't work enough on the manual. :(
Thank you very much.
Enrico Tröger wrote:
It is actually described in the manual, see http://www.geany.org/manual/current/index.html#filtering-out-version-control...
The trick is to use the 'Extra options' and tell grep to not care about directories like .svn. As also said in the manual, you need a somewhat recent grep version (2.5.2) for the --exclude-dir option. [...]
For those of us stuck with grep v2.5.1 or earlier (Fedora - so much for cutting edge!) and who use the shell already, there's always find...
find . -name .svn -prune -o -exec grep -H searchterm '{}' ;