Select all (Cmd+A) in prompt box also selects all of the current file

Open 💬 1 comment Opened Apr 14, 2026 by greg84

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.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗