Search functionality not working properly

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

This morning, after updating, I noticed that the search engine is not working properly. This did not happen with the previous version. Some parts of the code are automatically indented by linters, and those spaces cause the search to fail if the text being searched for is not on a single line.

Steps to Reproduce

Try to find a text that has been indented by linter

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.43 (Universal)
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. To investigate the search issue, please share:

  • A specific example of the text you’re searching for that isn’t found (the exact query you enter)
  • A screenshot showing the search not finding the text while it’s visible in the code
  • Which search you’re using (CMD+F for the current file or CMD+Shift+F for the workspace)
  • Your search settings (whether regex, case-sensitive, or whole word options are enabled)

This will help us reproduce the issue and fix it.