Skip to content

Conversation

soorya-u
Copy link

@soorya-u soorya-u commented Oct 8, 2025

What it does?

  • Code Lens is not not visible on top of main function which is commented out

@Vexu
Copy link
Member

Vexu commented Oct 8, 2025

This causes the code lens to appear after the last comment instead of before the main function:
image

There is also a similar regex in zigTestRunnerProvider.ts with the same problem if you'd like to fix that as well.

@soorya-u
Copy link
Author

soorya-u commented Oct 9, 2025

I'm new to zig, so does zig support

test foo { }
// or
test @"foo" { }

The Test Explorer regex recognizes this syntax as a valid test, but the ZLS throws an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants