Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide automatic type hinting for comptime array initialization #219

Open
ataractic opened this issue Jul 9, 2024 · 1 comment
Open
Labels
enhancement lsp Issue with language server integration

Comments

@ataractic
Copy link

ataractic commented Jul 9, 2024

There is type hinting everywhere except for this case (see buffer variable on 1st screenshot). It creates visual inconsistency, even if it is already explicit:

image

It should probably hint like the following:
image

@Vexu Vexu added enhancement lsp Issue with language server integration labels Jul 9, 2024
@Techatrix
Copy link
Collaborator

I have opened zigtools/zls#2105 which tracks this issue for the ZLS language server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement lsp Issue with language server integration
Projects
None yet
Development

No branches or pull requests

3 participants