Skip to content

Find command does not correctly change mode of Find/Replace dialog #246405

Open
@jasonmray

Description

@jasonmray

Type: Bug

Expected: When I highlight something and press Ctrl+F, the Find/Replace dialog should switch to Find mode.

Actual: When the dialog is already open in Replace mode, invoking the Find command does not switch the UI to Find mode.

Repro Steps:

  1. Open a source file and select some text. Press Ctrl+H to invoke the Replace command.
  2. Notice that the Find/Replace dialog opens in Replace mode.
  3. Without closing the Find/Replace dialog, select some text and press Ctrl+F to invoke the Find command.
  4. Notice that the Find/Replace dialog stays in Replace mode instead of switching to Find mode.

VS Code version: Code - Insiders 1.100.0-insider (043f699, 2025-04-11T05:23:04.452Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions