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

feat: format @import("./foo.zig") to @import("foo.zig") #379

Open
fel1x-developer opened this issue Jan 12, 2025 · 0 comments
Open

feat: format @import("./foo.zig") to @import("foo.zig") #379

fel1x-developer opened this issue Jan 12, 2025 · 0 comments

Comments

@fel1x-developer
Copy link

@import("./foo.zig") and @import("foo.zig") are equivalent, but zig's lib/std uses @import("foo.zig") since ./ is redundant. On saving .zig files on vscode, can we make vscode format @import("./foo.zig") to @import("foo.zig")?

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

No branches or pull requests

1 participant