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

Build On Save doesn't work if Ast Check Provider is ZLS

Open techatrix opened this issue 3 years ago • 0 comments

If you set buildOnSave to true and astCheckProvider to zls (default), the code that implements build on Save will not be run.

The condition on line 38 causes an early return. https://github.com/ziglang/vscode-zig/blob/5650df5b9e041c051b1f9c5b979db73707543c34/src/zigCompilerProvider.ts#L36-L61

techatrix avatar Feb 25 '23 20:02 techatrix