Repository navigation
Move the getDocumentationForSymbol docstring onto the function - #64686
Merged
Jake Bailey (jakebailey) merged 1 commit intoOct 8, 2026
Merged
Jake Bailey (jakebailey) merged 1 commit into
Jake Bailey (jakebailey) merged 1 commit into
Conversation
Copilot started reviewing on behalf of
patrick kettner (patrickkettner)
October 8, 2026 02:15
View session
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The comment-only change fixes the documentation attachment without changing behavior.
0 open findings
What changed in this PR
Fixes #64685 by attaching the language server’s documentation comment to the function it describes.
Changes:
- Moves the unchanged comment from
documentationLocationMappertogetDocumentationForSymbol. - Makes no executable code changes.
| File | Description |
|---|---|
tsc/internal/ls/hover.go |
Places the docstring directly above its intended function. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Jake Bailey (jakebailey)
approved these changes
Oct 8, 2026
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.
Fixes #64685
Analysis
The comment describing
getDocumentationForSymbolsits abovetype documentationLocationMapper, sogo docand editor hover present it as that type's documentation and the function has none.Fix
Moved the comment onto the function. No text changes.
Copilot Checklist
I successfully ran the applicable command at the end of my session, and it completed without error:
I used Claude Code for this change, and I have read and reviewed it.