Skip to content

Search is getting stuck on previous searches #251729

Open
@paulaustin-automutatio

Description

@paulaustin-automutatio

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.101.0 (user setup)
  • OS Version: Windows_NT x64 10.0.26100

Steps to Reproduce:

  1. Start typing a long search string
  2. Search will start once, then search again as you continue typing
  3. The new search won't get executed as it's still executing the previous search, when that finishes it might then move onto the search you want.
  4. Clicking the 'Cancel search' button doesn't always cancel the search
  5. Search is also getting slower

Here are some thoughts

  1. Add a longer debounce time (e.g. 500ms) before it starts to search
  2. Check the search cancellation code to make sure that is hard terminating the previous search task

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