On Thu, Nov 5, 2009 at 1:56 AM, epanda <[email protected]> wrote:
> > I know that vim allow me to choose by ts command the good tags but I > want to use ctags and my tags file from a vimscript. > > So it 's not me but the script which has to be enough clever to > select :). > > In fact, if my script pass into a method that return something > (result), I want the script be able to get the good definition into > the tags file. > > I am using taglist but this is useful for human use, not from a > script. > > Can you help me ? > Thanks you > I am not sure whether i understand your meaning. Do you mean that you want your script to get the result of command "tags" in vim ? And you want to analyze the result by yourself ? An internal vim function taglist() will match your need. And, according to your tags files generated by ctags , it will return a rich information about the tag you want to find. And more , if you using the ctags for C++, it is better to add more option to ctags for example , for me , it always runs like this: ctags.exe --c++-kinds=+p --fields=+iaS --extra=+q -o %(dst)s %(src)s > > > On 4 nov, 10:32, Efraim Yawitz <[email protected]> wrote: > > On Wed, Nov 4, 2009 at 11:26 AM, winterTTr <[email protected]> > wrote: > > > maybe the need is if it is possible to give a better selection filter > to > > > the tag command ? > > > > I've always wondered how to get a specific class member, i.e., > > MyClass::myvar or MyClass::myfunc() > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
