Do you mean create tags files for every code file, and change tags
file when switching between different code files?
But how to combine all of these actions to a hotkey?
If ctags can provide an update option, the problem can be solved very easily.
But it seems ctags doesn't provide this option any longer.

Zheng Da

On 12/30/06, Mikolaj Machowski <[EMAIL PROTECTED]> wrote:
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.




--
With regards
Zheng Da

Reply via email to