On 9/10/07, Nick Treleaven nick.treleaven@btinternet.com wrote:
On 09/09/2007 11:32:43 PM, John Gabriele wrote:
In the "Usage --> Tags" section of the manual, is that section referring to tags files as created by, say, the exuberant ctags program? Or does Geany have some additional notion of "tags"? If so, what's Geany's distinction between the two?
Geany can generate its own global tags files, since 0.11 (see the 'Generating a global tags file' Tags subsection). They are incompatible with ctags tags files.
Hm. It looks like Geany's tagmanager wraps/uses exuberant ctags... so why would a ctags-generated file be incompatible?
Just curious, why not just use ctags externally (and add it to the "Preferences --> Tools --> tool paths" list)? Wouldn't things be much cleaner that way?
Perhaps what's confusing is where it says you can download or create your own global tags files. Currently you can't really download them, but the plan was/is to put tags files for common libraries available on the web somewhere, probably linked from Geany's web site.
The only way I've ever used tags is when I go into a source directory and run the ctags program, and then tell the editor to load the resulting tags file (which is usually just named "tags"). The manual indicates that Geany deals with 2 kinds of tags files: "workspace tags" and "global tags"... are workspace tags just in-memory (for open files), whereas global tags are files residing in ~/.geany/tags?
---John