Builder allows to compile an application using different SDK, from the operating system and from a installed flatpak one.
For GVls found it requires to know the path to vapi directory in current SDK, so it can find packages like
libvala-?? in use to provide correct diagnostics.
Navigating around the
Ide API, found no way to execute:
valac --api-versionin order to construct
.pcfile to get paths from
pkg-config --variable datadir libvala-0.??in order to construct the path to the generic VAPIDIR and current vala version VAPIDIR using
pkg-config --variable vapidir libvala-0.??
Above will help to fix missing package found in current Builder GVls plugin, because currently it doesn’t provide that configuration to the LSP diagnostics provider.