Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More . completion #1090

Merged
merged 1 commit into from
Mar 23, 2023
Merged

More . completion #1090

merged 1 commit into from
Mar 23, 2023

Conversation

llogick
Copy link
Member

@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.

None yet

2 participants