Skip to content

Add LSP document link support for remaining buf config files#4463

Merged
stefanvanburen merged 1 commit intomainfrom
svanburen/document-link
Apr 14, 2026
Merged

Add LSP document link support for remaining buf config files#4463
stefanvanburen merged 1 commit intomainfrom
svanburen/document-link

Conversation

@stefanvanburen
Copy link
Copy Markdown
Member

Similar to #4442, but for the remaining config types:

  • buf.gen.yaml: plugins.remote, inputs.module
  • buf.policy.yaml: top-level name, plugins.plugin (that look like BSR references)
  • buf.lock: deps.name

Similar to #4442, but for the remaining config types:

* `buf.gen.yaml`: `plugins.remote`, `inputs.module`
* `buf.policy.yaml`: top-level `name`, `plugins.plugin` (that look like
  BSR references)
* `buf.lock`: `deps.name`
@github-actions
Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedApr 14, 2026, 1:05 PM

Comment thread CHANGELOG.md
## [Unreleased]

- Add LSP document links for `buf.yaml` dep entries, making each dependency a clickable link to its BSR module page.
- Add LSP document links for `buf.yaml` deps, `buf.gen.yaml` remote plugins and input modules, `buf.policy.yaml` name and BSR plugins, and `buf.lock` dep names, making each a clickable link to its BSR page.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

figured we could consolidate the CHANGELOG if this makes it into the release. Otherwise, I'll split it out.

Comment thread private/buf/buflsp/document_link.go
@stefanvanburen stefanvanburen merged commit 96f2db0 into main Apr 14, 2026
12 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/document-link branch April 14, 2026 14:12
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.

2 participants