vala-lang/vala-vscode

How do I inform Vala extension or Vala language server about dependent libraries/namespaces

Closed this issue · 1 comments

Hi!

I'm trying to use VSCode to write a Vala program that uses a PostgreSQL database. Unfortunately I don't know how to tell it where's the Vala's Postgres namespace. The program compiles and runs just fine using the command seen in comment, but VSCode shows squiggles. This is the sample program I'm using. It's Ubuntu 22.04, Vala extension 1.1.0, Vala language server 0.48.7-1, all freshly updated.

Is it possible to use Postgres with this extension? Thanks in advance!

image

I found the answer in vala-language-server issue:
vala-lang/vala-language-server#298 (comment)