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

meta: how to deal with ZLS specific issues

Open techatrix opened this issue 1 year ago • 3 comments

Some issues that are being reported to vscode-zig are actually issues with ZLS. The lsp issue label is a good indicator. Some of the are specific to vscode, others are not. I think that the difference between the extension and ZLS is not clear to all users. Can't really blame them, they seamlessly work together. Most of the time... It would be nice if we could make these issues less likely to occur and have an agreed upon policy to deal with them.

One idea I have is similar to Zig's "Language Proposal" issue template which links to a Wiki page. There could be an issue template for "Type Analysis / LSP / IntelliSense" here that would link to a wiki page that further explains the situation.

I could also go ahead and manually transfer the existing issues by opening a ZLS issue if not already present, close the vscode-zig issue and link to the ZLS one. For new ones, I could close them immediately and ask the author to open a new issue on ZLS. I get notified on any new issue here anyway so that isn't much effort. I wasn't really sure what the best approach would be here so I refrained from closing those issues.

I am also fine with leaving out the issue template idea and just dealing with the issues directly.

techatrix avatar Dec 08 '24 00:12 techatrix

@Vexu

techatrix avatar Dec 08 '24 00:12 techatrix

I intended for the lsp label to be for issues that should be reported to ZLS but I guess I haven't been perfectly consistent about it.

An issue template would be good to have and there definitely should be upstream issues for problems with ZLS but since there aren't too many lsp issues reported here currently I'm OK with leaving them up if they get closed when the related ZLS issue is closed. I guess the hard part is determining where the issue is and an issue template could lead to the reverse issue of extension issues being reported to ZLS.

I'll leave the decision to you as a ZLS maintainer but the I think the easiest solution for now is to keep using the lsp label as is for both ZLS specific and ZLS + extension interactions and manually handling any issues that get reported.

Vexu avatar Dec 08 '24 11:12 Vexu

I have made sure that all the ZLS related issues here have an upstream issue as well. I am ok with leaving the issues open here as suggested. The issue template idea isn't really necessary for this so I am going to close this.

techatrix avatar Dec 11 '24 16:12 techatrix