b4n left a comment (geany/geany#4528)

Generating tags for GTK libraries is not always perfectly trivial because they 
have macros that, if not properly skipped over, can confuse parsing.  You can 
work around that playing with 
[`ignore.tags`](https://www.geany.org/manual/current/index.html#c-ignore-tags), 
and here's mine (not updated for a long time, so might lack some stuff):

<details>
<summary>ignore.tags</summary>

```
G_GNUC_DEPRECATED_FOR+
G_GNUC_PRINTF+
G_GNUC_SCANF+
G_GNUC_FORMAT+
G_GNUC_*
G_DEPRECATED
G_DEPRECATED_FOR+
GDK_DEPRECATED_FOR+
G_UNAVAILABLE+
G_DEFINE_TYPE+
G_DEFINE_TYPE_EXTENDED+
G_DEFINE_TYPE_WITH_CODE+
G_DEFINE_BOXED_TYPE+
GLIB_AVAILABLE_*
GIO_AVAILABLE_*
GDK_AVAILABLE_*
GTK_AVAILABLE_*
GDK_DEPRECATED_IN_3_24_FOR+
GDK_DEPRECATED_IN_3_22_FOR+
GDK_DEPRECATED_IN_3_20_FOR+
GDK_DEPRECATED_IN_3_18_FOR+
GDK_DEPRECATED_IN_3_16_FOR+
GDK_DEPRECATED_IN_3_14_FOR+
GDK_DEPRECATED_IN_3_12_FOR+
GDK_DEPRECATED_IN_3_10_FOR+
GDK_DEPRECATED_IN_3_8_FOR+
GDK_DEPRECATED_IN_3_6_FOR+
GDK_DEPRECATED_IN_3_4_FOR+
GDK_DEPRECATED_IN_3_2_FOR+
GDK_DEPRECATED_IN_3_0_FOR+
GDK_DEPRECATED_IN_4_24_FOR+
GDK_DEPRECATED_IN_4_22_FOR+
GDK_DEPRECATED_IN_4_20_FOR+
GDK_DEPRECATED_IN_4_18_FOR+
GDK_DEPRECATED_IN_4_16_FOR+
GDK_DEPRECATED_IN_4_14_FOR+
GDK_DEPRECATED_IN_4_12_FOR+
GDK_DEPRECATED_IN_4_10_FOR+
GDK_DEPRECATED_IN_4_8_FOR+
GDK_DEPRECATED_IN_4_6_FOR+
GDK_DEPRECATED_IN_4_4_FOR+
GDK_DEPRECATED_IN_4_2_FOR+
GDK_DEPRECATED_IN_4_0_FOR+
GLIB_DEPRECATED_IN_2_80_FOR+
GLIB_DEPRECATED_IN_2_78_FOR+
GLIB_DEPRECATED_IN_2_76_FOR+
GLIB_DEPRECATED_IN_2_74_FOR+
GLIB_DEPRECATED_IN_2_72_FOR+
GLIB_DEPRECATED_IN_2_70_FOR+
GLIB_DEPRECATED_IN_2_68_FOR+
GLIB_DEPRECATED_IN_2_66_FOR+
GLIB_DEPRECATED_IN_2_64_FOR+
GLIB_DEPRECATED_IN_2_62_FOR+
GLIB_DEPRECATED_IN_2_60_FOR+
GLIB_DEPRECATED_IN_2_58_FOR+
GLIB_DEPRECATED_IN_2_56_FOR+
GLIB_DEPRECATED_IN_2_54_FOR+
GLIB_DEPRECATED_IN_2_52_FOR+
GLIB_DEPRECATED_IN_2_50_FOR+
GLIB_DEPRECATED_IN_2_48_FOR+
GLIB_DEPRECATED_IN_2_46_FOR+
GLIB_DEPRECATED_IN_2_44_FOR+
GLIB_DEPRECATED_IN_2_42_FOR+
GLIB_DEPRECATED_IN_2_40_FOR+
GLIB_DEPRECATED_IN_2_38_FOR+
GLIB_DEPRECATED_IN_2_36_FOR+
GLIB_DEPRECATED_IN_2_34_FOR+
GLIB_DEPRECATED_IN_2_32_FOR+
GLIB_DEPRECATED_IN_2_30_FOR+
GLIB_DEPRECATED_IN_2_28_FOR+
GLIB_DEPRECATED_IN_2_26_FOR+
GDK_DEPRECATED_IN_*
GLIB_DEPRECATED_IN_*
GLIB_EXTERN
GLIB_VAR
__STL_NOTHROW
__THROW
GIT_EXTERN=extern
cairo_public
GEANY_DEPRECATED
GEANY_PRIVATE_FIELD
GEANY_DEPRECATED_FOR+
```
</details>

This said, I just updated the GTK 3 [tags files on the 
wiki](https://wiki.geany.org/tags/start) with the ones I use and that should be 
fairly exhaustive.  Some Windows-specific things *might* be missing though, I'm 
not sure.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4528#issuecomment-4067071131
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4528/[email protected]>

Reply via email to