begin quoting Brian Deacon as of Mon, Feb 21, 2005 at 10:40:57AM -0800: > On Fri, Feb 18, 2005 at 11:06:16AM -0800, Stewart Stremler wrote: > > The advantage of an IDE, as I see it, lies in the "lookahead" feature > > of the editor, where it will look up the possible methods for a class > > and let you chose the "correct" one, instead of having to guess or look > > it up. > > I thought vim plugged it's ctrl-n into ctags to accomplish this. No?
By default, control-N does the same thing as "j", doesn't it? Except when you're in one of the funky modes, I suppose. There is ctags support in vim but I've never looked into it. Tried setting it up with Java once, but it didn't work -- had better luck with the quickfix capabilites, however. A lot of the lookahead-stuff is most useful in OO languages, where the editor has to keep track of the lexical scope, to know that <variable> is of type <foo> and that <foo> is imported from package <bar>, so that when you type "<variable>." it can look up <bar>.<foo> and have a list ready for you. C is a bit simpler than that.... -Stewart "You don't get to overload C functions" Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
