<spanclass="emphasis"><em>lang_ext</em></span> is one of the extensions set for the filetype
associated with the tags. See <ahref="ch04s02.html"title="Filetype extensions">the section called “Filetype extensions”</a> for more
information.
</p><divclass="section"lang="en"><divclass="titlepage"><div><div><h4class="title"><aname="id2811571"></a>Default global tags files</h4></div></div></div><p>
For some languages, a list of global tags is loaded when the corresponding filetype
is first used. Currently these are for:
</p><divclass="itemizedlist"><ultype="disc"><li><p>C - GTK+ and GLib</p></li><li><p>Pascal</p></li><li><p>PHP</p></li><li><p>HTML - <codeclass="literal">&symbol;</code> completion, e.g.
for ampersand, copyright, etc.</p></li><li><p>LaTeX</p></li></ul></div><p>
</p></div><divclass="section"lang="en"><divclass="titlepage"><div><div><h4class="title"><aname="tags_generating"></a>Generating a global tags file</h4></div></div></div><p>
Currently this is not yet supported for Pascal, PHP and LaTeX filetypes.
</p></div><p>
</p><p>
You can generate your own global tags files by parsing a list of source files.
The command is:
</p><p>
geany -g <Tag File><File list>
</p><p>
</p><divclass="itemizedlist"><ultype="disc"><li><p><spanclass="emphasis"><em>Tag File</em></span> should be in the format described
earlier - see <ahref="ch03s07.html#tags_global"title="Global tags">the section called “Global tags”</a>.</p></li><li><p><spanclass="emphasis"><em>File list</em></span> is a list of filenames, each with
a full path (unless you are generating C/C++ tags and have set the CFLAGS
</p><divclass="section"lang="en"><divclass="titlepage"><div><div><h5class="title"><aname="id2811688"></a>Generating C/C++ tag files</h5></div></div></div><p>
For C/C++ tag files, <codeclass="filename">gcc</code> and <codeclass="filename">grep</code> are
required, so that header files can be preprocessed to include
any other headers they depend upon.
</p><p>
For C/C++ files, the environment variable CFLAGS should be set with appropriate
<codeclass="literal">-I/path</code> include paths.
The following example works with the <codeclass="filename">bash</code> shell, generating
</p></div></div></div></div><divclass="navfooter"><hr><tablewidth="100%"summary="Navigation footer"><tr><tdwidth="40%"align="left"><aaccesskey="p"href="ch03s06.html">Prev</a></td><tdwidth="20%"align="center"><aaccesskey="u"href="ch03.html">Up</a></td><tdwidth="40%"align="right"><aaccesskey="n"href="ch03s08.html">Next</a></td></tr><tr><tdwidth="40%"align="left"valign="top">Search, replace and go to</td><tdwidth="20%"align="center"><aaccesskey="h"href="index.html">Home</a></td><tdwidth="40%"align="right"valign="top">Preferences</td></tr></table></div></body></html>