Add filtering out version control files with Extra options info to
Find in Files section. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1437 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
3bdadf9727
commit
4baeb619ac
@ -3,6 +3,9 @@
|
|||||||
* tagmanager/tm_workspace.c:
|
* tagmanager/tm_workspace.c:
|
||||||
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
|
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
|
||||||
tags when creating a global tags file, and store the pointerOrder.
|
tags when creating a global tags file, and store the pointerOrder.
|
||||||
|
* doc/geany.docbook:
|
||||||
|
Add filtering out version control files with Extra options info to
|
||||||
|
Find in Files section.
|
||||||
|
|
||||||
|
|
||||||
2007-04-03 Nick Treleaven <nick.treleaven@btinternet.com>
|
2007-04-03 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||||
|
|||||||
@ -635,12 +635,13 @@
|
|||||||
The search results are shown in the Messages window.
|
The search results are shown in the Messages window.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section id="search_fif">
|
||||||
<title>Find in files</title>
|
<title>Find in files</title>
|
||||||
<para>
|
<para>
|
||||||
Find in files is a more powerful version of Find usage that searches all files
|
Find in files is a more powerful version of Find usage that searches all files
|
||||||
in a certain directory using the Grep tool. The Grep tool must be correctly set
|
in a certain directory using the Grep tool. The Grep tool must be correctly set
|
||||||
in Preferences to the path of the system's Grep utility.
|
in Preferences to the path of the system's Grep utility.
|
||||||
|
GNU Grep is recommended.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
<figure>
|
<figure>
|
||||||
@ -648,6 +649,33 @@
|
|||||||
<graphic fileref="images/find_in_files_dialog.png"></graphic>
|
<graphic fileref="images/find_in_files_dialog.png"></graphic>
|
||||||
</figure>
|
</figure>
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
The <emphasis>Extra options</emphasis> field is used to pass any additional
|
||||||
|
arguments to the <literal>grep</literal> tool.
|
||||||
|
</para>
|
||||||
|
<section><title>Filtering out version control files</title>
|
||||||
|
<para>
|
||||||
|
When using the <emphasis>Recurse in subfolders</emphasis> option with a
|
||||||
|
directory that's under version control, you can set the
|
||||||
|
<emphasis>Extra options</emphasis> field to use <literal>grep</literal>'s
|
||||||
|
<literal>--exclude</literal> flag to filter out filenames.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
SVN Example: <literal>--exclude=*.svn-base</literal>
|
||||||
|
</para>
|
||||||
|
<note>
|
||||||
|
<para>
|
||||||
|
The GNU Grep project added support for excluding directories,
|
||||||
|
using the <literal>--exclude-dir</literal> flag.
|
||||||
|
At the time of writing (April 2007) this is unreleased outside
|
||||||
|
of version control.
|
||||||
|
Check your Grep manual to see if your version supports it.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Example: <literal>--exclude-dir=.* --exclude-dir=CVS</literal>
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<title>Replace</title>
|
<title>Replace</title>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user