You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've initial concluded by stating that this Issue is hard to fix in ZLS because of how the zig parser got confused by the token sequence state.{. After giving this Issue another look, I think that fixing this by improving the error recovery of the Zig parser may also be a viable route.
Even if this can be fixed without modifying the parser, the error messages look really awful
Almost all the bugs I run into this have to do with the . character
What if when there's a syntax error and the last character typed was ., you retry parsing with a semicolon where the . character was placed? Doing that manually fixes the issue. Obviously that's a terrible hack, but it's an improvement over the current state.
Zig Version
0.11.0-dev.2317+46b2f1f70
Zig Language Server Version
HEAD
Steps to Reproduce
This started happening today? Not sure if code change causes it or if zls change
Expected Behavior
Completions should appear
Actual Behavior
Completions do not appear
I suspect it's something to do with #1071
The text was updated successfully, but these errors were encountered: