Skip to content

Link file:start-end ranges and ignore Enter while an IME is composing - #2019

Merged
currentbits merged 2 commits into
mainfrom
coder/reliability-line-range-file-links-and-im-9008d6
Nov 13, 2026
Merged

currentbits merged 2 commits into
mainfrom
coder/reliability-line-range-file-links-and-im-9008d6

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Two renderer fixes.

  • Line-range links: agents often cite src/foo.ts:42-64. splitLineSuffix only understood :line and :line:col, so a range resolved to a nonexistent path and showed as plain text. Ranges now link and open at the start line. The Windows drive-letter guard is unchanged.
  • IME input: confirming a Japanese, Chinese or Korean candidate with Enter, or moving through candidates with the arrow keys, also triggered the app's action in the command palette, find bar, path browser, add-project dialog and question prompt. A shared isImeComposing check (isComposing, or keyCode 229 for browsers that send the confirming keydown after compositionend) now leaves those keys to the IME.

Tests: new cases in test/pathLinks.test.ts and test/commandPalette.ui.test.tsx (a composing Enter is ignored, a normal Enter still acts). 28 of 28 pass.

🤖 Generated with Claude Code

Willem and others added 2 commits November 13, 2026 15:17
Agents often cite code as src/foo.ts:42-64. The line-suffix parser only
knew :line, :line:col and (line,col), so the range stayed in the path and
the link never resolved. Accept :start-end and open at the start line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Confirming a CJK candidate with Enter (or moving through candidates with
arrows) ran the palette item, find step, path-browser descend, add-project
submit or question submit. Add a small isImeComposing helper (isComposing
or keyCode 229) and skip those keydown handlers while composing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T15:40:23.367026Z f5c3801 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@currentbits
currentbits merged commit 7ed7f31 into main Nov 13, 2026
14 checks passed
@currentbits
currentbits deleted the coder/reliability-line-range-file-links-and-im-9008d6 branch November 13, 2026 16:02
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