Re: [Ctags] Missed C routines in some headers
Brought to you by:
dhiebert
From: Neil B. <nei...@rd...> - 2000-11-22 08:35:47
|
Gary Holloway wrote: > The reason you're not getting a tag for gnome_config_push_prefix is that the > header file is simply *declaring* the funtion, not *defining* it. > > Make sense? Yes - in principle. However, in cases lke this, I *do* want to jump to the header file (to see the procedure spec. & any comments), and don't actually have the ode body accessible. I'd probably leave it there, except that it's working the way I want it for all my GTK headers, which are in another place. E.g., from my gdk/gdk.h [GTK+1.2.8] void gdk_window_set_icon (GdkWindow *window, GdkWindow *icon_window, GdkPixmap *pixmap, GdkBitmap *mask); ... then in my .tags.gtk : !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted/ !_TAG_PROGRAM_AUTHOR Darren Hiebert /da...@hi.../ !_TAG_PROGRAM_NAME Exuberant Ctags // !_TAG_PROGRAM_URL http://darren.hiebert.com/ctags/ /official site/ !_TAG_PROGRAM_VERSION 3.5.1 /with C, C++, Eiffel, Fortran, and Java support/ <snip> gdk_window_set_icon /usr/include/gdk/gdk.h /^void gdk_window_set_icon (GdkWindow *window, $/;" p Why has ctags picked up the header entries here, and not the GNOME headers? hang on , I'll just check something ... AAARGH! it's not generating them now! I *must've* given ctags some bizarre option to make it do it. Hah! --c-types=p I must've figured that out a while back & forgotten. Let's hope I remember for /next/ time! -- =====================- http://www.racaldefence.com/ -==================== Neil Bird | If this .signature | work mailto:nei...@rd... | looks pants, then | $> cd /pub personal mailto:ne...@fn... | stop using Outlook! | $> more beer |