On 23 March 2010 07:20, Gareth Oakes <[email protected]> wrote: > [... on omnicompletion of ECMAScript ...] > > It now references my tags file (yay!). The only problem > now is that some tags can't be resolved. For example, > I have an object A and object B. Each object is of > a different "class". Each object has a "doSomething()" > method available, but the parameters are different > depending on whether I'm looking at object A or B - how > to identify which doSomething() tag to lookup??
You can't: it can change at runtime. > In this regard, I'm starting to think that Vim is not > well-prepared for the explosion of object-orientated, > loosely typed, scripting languages. The omnicompletion > and tags functions would need to implement an interpreter > for each language in order to figure out what the correct > completion/tag lookup is meant to be... sounds tricky! Not good enough: it can change unpredictably at runtime. Also, please try not to top-post. Thanks! --Antony -- Mailing list guidelines: http://groups.google.com/group/vim_use/web/vim-information -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
