Thank you very much for your clear answer. Is there a way to file an official feature whish for that? It doesn't seem that hard to implement, given that ctags already has the option to put all the relevant information in the tags file. Vim just has to use it :)
Thanks again, joel Dominique Pelle wrote: > > > Andreas Bernauer wrote: > >> poireau wrote: >>> I'm currently using vim with exuberant ctags and I love it, except for >>> one >>> thing: if I have to functions named foo, say foo(int) and foo(), vim >>> does >>> not make any distinction between them and jumps to one of them randomly >>> when >>> C-] is pressed. >>> >>> Is there a way to make vim more intelligent? I'm open to using something >>> else than ctags, as long as it works better :) >> >> You could consider cscope http://cscope.sourceforge.net/ >> Works great for me. > > cscope is good, but it does not solve the problem > of jumping to the right function when overloading > functions. > > As far as I know, there is unfortunately no solution > yet for this. It's been discussed in this mailing list > a couple of times. It's the feature that I would like > most when developing in c++ with Vim. > > Until something exists, I've put the following line > in my ~/.vimrc... > > noremap <c-]> g<c-]> > > ... so that pressing <c-]> shows all the matches > and I can select the one I want manually. > > -- Dominique > > > > > -- View this message in context: http://www.nabble.com/Is-it-possible-for-the-vim-tag-system-to-distinguish-between-functions-with-the-same-name-but-different-signatures--tp21870284p21922931.html Sent from the Vim - General mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
