-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support Go to Definition requests for source file labels in string literals #201
Conversation
d706250
to
e633471
Compare
hmm does this work? I tested it with BuildBuddy.git and Bazel.git, both cannot do
trying to "go to def" on |
Ah sorry, didn't clarify in the PR that this is specifically for source files, e.g. |
Just updated this PR description to indicate this, and opened #203 to track the remaining functionality! |
I don't think it works. For example, I tried it on this line https://github.com/buildbuddy-io/buildbuddy/blob/bb4c9d9ff75ace7c549819e40cac080414a6a226/server/buildbuddy_server/BUILD#L71 and it did not open the Go file. Also I think it's typical to have source syntax in the form of |
Hmm, for my setup it's working from that file for all the various forms of source syntax that you mentioned: Screen.Recording.2024-04-16.at.10.44.56.AM.movThis functionality isn't actually on the latest release yet, are you using a custom build from latest
|
ah I built from the latest from main, but I copied the old binary from sorry for the noise |
no worries! i'll follow up on the non-source labels soon |
Goto def for non-source file labels has been added in #205! |
Amazing! I love starpls already! |
Adds the equivalent of the functionality described in bazel-contrib/vscode-bazel#380