Skip to content

Conversation

llogick
Copy link
Contributor

@llogick llogick commented Mar 23, 2023

Goal was

// inside "MyStruct.zig"
a: bool,
b: bool,

// inside "main.zig"
const MyStruct = @import("MyStruct.zig");

fn topLevelStruct() void {
    var s = MyStruct{.<completion>};
}

but also

const MyStruct = @import("myfile.zig").MyStruct;

fn topLevelStruct() void {
    var s = MyStruct{.<completion>};
}

which hinged on

zls import bultin dot compl

@leecannon leecannon merged commit e1d90a1 into zigtools:master Mar 23, 2023
@llogick llogick deleted the dot-compl branch March 31, 2023 19:38
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