codex - 💡(How to fix) Fix Select all (Cmd+A) in prompt box also selects all of the current file [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17780Fetched 2026-04-15 06:28:25
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
labeled ×2commented ×1
RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

26.409.20454

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

CMD+A (select all) selects all text in the prompt/chat box AND currently open file.

What steps can reproduce the bug?

Open a non empty file in VS code Put cursor in codex extension prompt text box and type some text in it, don't submit the message Press CMD+A to select all prompt text

Expected: All text in the prompt box is selected

Actual: All text in the prompt box AND all text in the currently open document is selected

What is the expected behavior?

All text in the prompt box is selected, nothing outside it.

Additional information

This used to work so is likely a regression somewhere.

extent analysis

TL;DR

The issue can likely be fixed by modifying the keyboard shortcut handling in the Codex extension to prevent it from selecting all text in the currently open file when CMD+A is pressed in the prompt box.

Guidance

  • Verify that the issue is specific to the Codex extension by checking if the behavior occurs with other extensions disabled.
  • Check the extension's settings or documentation to see if there are any options to configure keyboard shortcut behavior.
  • If the issue is confirmed to be a regression, consider rolling back to a previous version of the extension to see if the issue is resolved.
  • Test the issue with a different keyboard shortcut, such as CMD+Shift+A, to see if the behavior is specific to CMD+A.

Example

No code snippet is provided as the issue is related to the behavior of the Codex extension and not a code-specific problem.

Notes

The issue may be specific to the combination of the Codex extension, VS Code, and the Darwin platform, so testing on other platforms or with different extensions may not reproduce the issue.

Recommendation

Apply workaround: The user may need to use a different keyboard shortcut or modify their workflow to avoid using CMD+A in the prompt box until a fix is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING