Skip to content

Fix LSP references for dependencies - #4649

Open
emcfarlane wants to merge 4 commits into
mainfrom
ed/lsp-reference-index
Open

Fix LSP references for dependencies#4649
emcfarlane wants to merge 4 commits into
mainfrom
ed/lsp-reference-index

Conversation

@emcfarlane

@emcfarlane emcfarlane commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This fixes LSP handling of references. References could become stale, out of order, and untracked. The reference slice is replaced with a single reverse index owned by the lsp and keyed by definition site rather then workspace. Shared dependencies have the same key among multiple workspaces.

To reproduce this issue, open event.proto under proto/ and click goto on a Timestamp field. Then find reference should show this field plus all other Timestamp use cases in this workspace.

@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✅ passedAug 19, 2026, 8:53 PM

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