vscode-zig icon indicating copy to clipboard operation
vscode-zig copied to clipboard

zig.trace.server doesn't send the correct value in LSP messages

Open kcbanner opened this issue 2 years ago • 1 comments

I was implementing setTrace in zls, and I noticed this. VSCode seems to always send "trace": "off" regardless of the "zig.trace.server" setting.

kcbanner avatar Apr 16 '23 15:04 kcbanner

Used to work in zls-vscode and I think the reason is that the language client name matched the config name here https://github.com/ziglang/vscode-zig/blob/master/src/zls.ts#L153. Maybe changing this to zig will help? VSCode is supposed to handle this for us automatically. :/

SuperAuguste avatar Apr 16 '23 15:04 SuperAuguste