Skip to content

Follow symlinks to make ctrl+click work with vendored rules#424

Open
viktor5831 wants to merge 1 commit intowithered-magic:mainfrom
viktor5831:resolve-symlinks
Open

Follow symlinks to make ctrl+click work with vendored rules#424
viktor5831 wants to merge 1 commit intowithered-magic:mainfrom
viktor5831:resolve-symlinks

Conversation

@viktor5831
Copy link
Copy Markdown

When using vendored rules, when I ctrl+click on e.g. rust_binary, it opens an editor whose path is ~/.cache/bazel/_bazel_<username>/<hash>/external/rules_rust+/rust/defs.bzl. In that path, rules_rust+ is a symlink to the vendored rules_rust+, so by following the symlink, ctrl+click opens an editor with path vendor/bazel/rules_rust+/rust/defs/bzl, which is more readable and less confusing.

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.

1 participant