Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Re: TAGS and Perl?

by gumpu (Friar)
on Apr 06, 2001 at 10:17 UTC ( #70411=note: print w/replies, xml ) Need Help??

in reply to Re: TAGS and Perl?
in thread TAGS and Perl?

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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://70411]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2022-12-06 20:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found