Add indexed LSP call hierarchy (#5351) - #5380
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds standard indexed LSP call hierarchy preparation and incoming/outgoing expansion for #5351. Items bind exact symbol IDs to the session and index generation; repeated call sites retain UTF-16 ranges and valid file URIs. Incomplete, ambiguous, stale, unsaved or over-budget evidence returns explicit LSP errors, and successful results explain indexed-graph limitations.
The implementation uses existing persisted call identities across 13 languages without adding language binding or runtime dependencies.
Validation
make lint,git diff --check, anddotnet run --project tools/CodeIndex.Changelog -- check.origin/main..HEAD: fixed all three first-round findings and added regressions for response-budget session reuse, exact file identity and bounded overlapping-definition metadata. The second review concluded:No blocking/actionable issues found.Documentation
Updated the English and Japanese sections of
USER_GUIDE.md,DEVELOPER_GUIDE.mdandTESTING_GUIDE.md, with the detailed contract indocs/lsp-call-hierarchy.md.Changelog fragment:
changelog.d/unreleased/5351.added.md.Follow-ups: #5362, #5363, #5373.
Fixes #5351