zigtools / zls

A Zig language server supporting Zig developers with features like autocomplete and goto definition
MIT License
2.86k stars 290 forks source link

No inlay hints/hover/completions for `@"i d e n t"` syntax #2023

Closed llogick closed 5 days ago

llogick commented 3 weeks ago

Zig Version

-

ZLS Version

dd78968d4c8deefd33addc2b1cc14f60d89ec1a9

Client / Code Editor / Extensions

-

Steps to Reproduce and Observed Behavior

/// For illustrative purposes only
const @"f u n n y" = struct {
    @"n a m e": @"f u n n y",
    @"struct": @"f u n n y",
};
test {
    const s: @"f u n n y" = .{ .@"n a m e" = .{ .@"struct" = .{} } };
    s.@"n a m e" = .{ .@"struct" = .{ .@"n a m e" = .{ .@"struct" = .{} } } };
}

Cheat sheet for the eager: https://github.com/zigtools/zls/compare/master...llogick:zls:llogick/at-ident-syntax-fixes

Expected Behavior

-

Relevant log output

No response