On Jun 14, 6:53 am, alex <[email protected]> wrote:
> I know about taglist and omnicppcomplete plugins, 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 much a
> given query (formulated with regular expressions) AND/OR all the
> function members that much 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 ?
I think it's worth a shot, but I'd try cscope first to see if that's
what you want. I haven't tried it yet (it's on my TO DO list) but you
description basically sounds like one of the many use cases of cscope.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---