[VSCodeSweeper MVP — test only] lsp signature_helper Activity parameter highlight position error#3
[VSCodeSweeper MVP — test only] lsp signature_helper Activity parameter highlight position error#3egamma wants to merge 1 commit into
Conversation
…ht position error
🤖 copilot /review — round 1VSCodeSweeper MVP self-review (fork-only experiment). ● Get commits on branch (shell) ● Get diff stats (shell) ● Get full diff (shell) No significant issues found in the reviewed changes. The logic correctly handles:
Code Review SummaryCommit: What it does: Fixes parameter highlighting in signature help when a parameter name appears as a substring of the function name (e.g., "len" incorrectly highlighted inside "strlen"). The fix computes a Verdict: Looks good ✅ — no bugs or logic errors found. Minor observations:
|
|
✅ Round 1: no actionable findings — the review loop converged. |
Upstream issue: microsoft#246019
Change summary
Signature help highlights the wrong parameter position when the parameter name string appears multiple times in the signature label.
Validation
Write a unit test in parameterHintsWidget tests that creates a signature where a parameter name (e.g., 'len') also appears in an earlier parameter or the function name, and assert the highlight offsets point to the Nth occurrence matching the activeParameterIndex, not the first.
Branch
vscodesweeper/fix-246019· generated fix · review loop runs separately (codex review).