Skip to content

Fix navigation to single match in tree find#236515

Merged
benibenj merged 1 commit intomainfrom
benibenj/key-ocelot
Dec 18, 2024
Merged

Fix navigation to single match in tree find#236515
benibenj merged 1 commit intomainfrom
benibenj/key-ocelot

Conversation

@benibenj
Copy link
Copy Markdown
Contributor

Fixes #236478

@benibenj benibenj self-assigned this Dec 18, 2024
@benibenj benibenj enabled auto-merge (squash) December 18, 2024 20:02
@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Dec 18, 2024

if (pattern) {
this.tree.focusNext(0, true, undefined, (node) => this.shouldAllowFocus(node));
this.tree.focusNext(0, true, undefined, (node) => !FuzzyScore.isDefault(node.filterData as any as FuzzyScore));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risky cast 😱

@benibenj benibenj merged commit c88542e into main Dec 18, 2024
@benibenj benibenj deleted the benibenj/key-ocelot branch December 18, 2024 20:21
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Feb 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When searching in outline view, if a search mathes only one entry, I cannot jump to that match

2 participants