Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

making ctags and vim a powerfull IDE for programming.

1 view
Skip to first unread message

alex

unread,
Jun 15, 2009, 12:14:16 PM6/15/09
to
I know about taglist and omnicppcomplete plugins for the vim editor,
but both are not
enough, in my opinion, for making working with vim + ctags real
powerfull.

It would be a simple task to write a python program for "searching and
navigating" a tags file !

Within vim, or from the bash, it would be possible to extract
information from a tags file generated with exuberant ctags, running
the python script, so that large projects could easily be handled.

For example it should be possible to list all the classes that mach a
given query (formulated with regular expressions) AND/OR all the
function members that mach a given query and so on...

From the bash, for example, this could be something like

tagsmanager --file=./tags --name='a+' --class='abc*|def' --
function='abc*' --kind='s'

the output should be the list of all structs that begins with an 'a',
defined within a function that begins with abc member of a class that
begins with abc or of the class def. The search would be in the tags
file in the current directory.

(another simple example colud be:
tagsmanager --file=./tags --name='abcd*' --kind='c'
that sould lists all tha classes that begins with abcd in the project
relative to the ./tags file
and so on...)

The output list should be "navigable" and it should be possible to go
to the definition with vim
"or something like this"...

A simple python script would be very usefull for achieving this
powerfull results...

What do you think ?
Best regards,
THX

0 new messages