raycast / raycast/extensions

[Folder Search] Add per-search path exclusions

Open
#29,445 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.8k
Forks
6.9k
Avg merge
2d 6h
Merged PRs (30d)
442

Description

Extension

https://www.raycast.com/GastroGeek/folder-search

OS Version

macOS 27.0

Description

Allow paths to be excluded from an individual search. For example:

a -path:~/GitHub

This would find folders matching a while excluding ~/GitHub and its descendants for the current query only. Exclusions should support multiple paths and reset when the query is cleared or the command closes. The exact syntax is flexible.

Who will benefit from this feature?

Users who sometimes need a directory included in search and sometimes need it temporarily excluded.

Anything else?

Issue https://github.com/raycast/extensions/issues/10123 requests full-path matching, but does not cover negative path filters.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Folder Search extension linked in the issue and trace how the query is parsed and paths are searched. Add per-query exclusions supporting multiple paths, then verify that excluded paths and descendants are omitted and that exclusions reset when the query is cleared or the command closes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.