On sob gru 30 2006, [email protected] wrote: > Hello, > > I hope vim can run automatically a completion after a '.', '->' or '::' > when I write c++ program. I know omnicppcomplete plugin can do this job. > But omnicppcomplete needs tag database. So if I want omnicppcomplete to > tell me members of a class, I have to keep updating the tag database > even though I only make a little change. > So is there other ways to do the completion? Or is there some way to let > omnicppcomplete update the tag database automatically?
Some time ago I was experimenting with PHP files and remapping of ; to recreate tags file including changes from current file (even when non-written). On big projects it was taking too much time. On small to middle ones behaviour was acceptable. You could try similar thing or better: create tags only for current file and later replace proper entries in project tags file. Should give significant speed gains comparing to my approach. m.
