Skip to content

feat(search): add fuzzy subsequence matching #158

Open
guolingGithub wants to merge 1 commit into
floatboatai:mainfrom
guolingGithub:feat/fuzzy-search
Open

feat(search): add fuzzy subsequence matching #158
guolingGithub wants to merge 1 commit into
floatboatai:mainfrom
guolingGithub:feat/fuzzy-search

Conversation

@guolingGithub

Copy link
Copy Markdown

Summary

Test plan

  • pnpm vitest run packages/plugin-search/test/plugin-search.test.ts passes
  • Demo: open search (Cmd/Ctrl+F), check Fuzzy, search tbe against text containing table and confirm a hit
  • Uncheck Fuzzy and confirm tbe returns 0 results
  • Fuzzy replace / replace-all works without overlapping corruption
  • Regexp checkbox disables when Fuzzy is enabled (and vice versa)

Notes

  • Branch: feat/fuzzy-search (personal fork). Do not merge unless maintainers approve.
  • AI assistance used for implementation scaffolding; design/tests reviewed for subsequence matching + non-overlapping replace semantics.

Implement ROADMAP floatboatai#17 fuzzy search as an opt-in mode for in-document
find/replace. Users can match ordered character subsequences (e.g. `tbe`
→ `table`) without changing the default literal search behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants