Skip to content

Search does not respect workbench.editor.revealIfOpen #94705

@akbyrd

Description

@akbyrd

Selecting a search result will reveal an existing editor in an unfocused group even when workbench.editor.revealIfOpen is set to false.

Steps to Repro

  • Set workbench.editor.revealIfOpen to false
  • Open two editor groups
  • Focus an editor in one of the groups
  • Perform a search that will find results in the unfocused group (note that focus state is maintained while searching. The editor title color reflects this and workbench.action.focusActiveEditorGroup will focus the correct group).
  • Select the result
  • Notice it focuses the unfocused group instead of opening a new editor in the focused group

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team membersearchSearch widget and operation issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions