vala-language-server icon indicating copy to clipboard operation
vala-language-server copied to clipboard

Criticals from libvala

Open lw64 opened this issue 3 years ago • 3 comments

While using vls very often criticals appear on stderr. This should be avoided.

lw64 avatar Nov 16 '22 18:11 lw64

For some context:

@lw64 added support for vala-language-server in Workbench :partying_face: https://github.com/sonnyp/Workbench/pull/156

Workbench has a terminal in readonly mode for debugging. We used to show language servers stderr in there to help with user reports.

We had to stop because vls emit tons of criticals.

image

sonnyp avatar Nov 16 '22 18:11 sonnyp

These are criticals in libvala (notice the vala-CRITICAL), not VLS, which uses the vls namespace. So an upstream issue

@ricotz can chime in. I had a PR that would address some of this problem. IIRC most of these are from Vala.GirParser which gets called when we're building documentation for the first time.

Prince781 avatar Nov 17 '22 00:11 Prince781

FYI - Blueprint language server is also very verbose on stderr so I decided to stop displaying it to users.

sonnyp avatar Dec 11 '22 09:12 sonnyp