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

goto-definition and imports #322

Closed
nektro opened this issue May 8, 2021 · 0 comments · Fixed by #1328
Closed

goto-definition and imports #322

nektro opened this issue May 8, 2021 · 0 comments · Fixed by #1328
Labels
enhancement New feature or request

Comments

@nektro
Copy link
Contributor

nektro commented May 8, 2021

const std = @import("std");
const fs = std.fs;`

Consider clicking on the .fs, this opens zig/lib/std/std.zig to a line that says const fs = @import("fs.zig");.

The request here is to make it so that when the definition being goto'd is an @import("file.zig");, open file.zig instead.

@alexnask alexnask added the enhancement New feature or request label May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants