GitHub user matthiasblaesing added a comment to the discussion: NetBeans 29 -
GTK code completion
Glimpsed from a plain gtk project, this works:
```json
[
{
"directory": "/home/matthias/tmp/test",
"command": "gcc -g main.c -I/usr/include/gtk-3.0
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/glycin-2 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/fribidi
-I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgtk-3 -lgdk-3
-lpangocairo-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -latk-1.0 -lpango-1.0 -lcairo
-lharfbuzz -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lz -o main",
"file": "main.c"
}
]
```
-> no arguments, just the full compile command
-> the compile command does not rely on magic expansion
GitHub link:
https://github.com/apache/netbeans/discussions/9375#discussioncomment-16773734
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists