zls icon indicating copy to clipboard operation
zls copied to clipboard

enum autocomplete suggestions are wrong

Open Jarred-Sumner opened this issue 4 years ago • 0 comments

For StdIo in child_process.zig, the possible values are:

pub const StdIo = enum {
    Inherit,
    Ignore,
    Pipe,
    Close,
};

However, the suggested values are Error and Warn -- neither of which are valid values.

CleanShot 2021-08-16 at 18 07 48@2x

This isn't a specific issue with ChildProcess. I've noticed that the enum autocomplete suggestions are incorrect more generally.

Prefixing with the type name works better, however the completion kind displayed are incorrect. CleanShot 2021-08-16 at 18 11 29@2x

Jarred-Sumner avatar Aug 17 '21 01:08 Jarred-Sumner