This implementation, Exuberant Ctags, is very nice, it even works on VMS systems. I use it all the time in combination with vim to navigate large heaps of messy C++. It turns your editor in something like a source browser. You can just 'click' on a function or class name and jump to its definition and then jump back to the original place again.

The output of ctags can be used for more things than just aiding an editor. The output is a list of imporant items in your program complete with a regular expression that can be used to find this item in the file. For C++ it even gives the relationships between classes.

With it, it is easy to write a Perl program that scans a ctags file and then shows you the class hierachy, what methods there are, or even the complexity of your code. The whole problem of parsing the code is taken care of by ctags. ctags is very useful.

Have Fun


In reply to Re: Re: TAGS and Perl? by gumpu
in thread TAGS and Perl? by fpi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.