Skip to content

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

@greg84

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions