Skip to content

Exclude files in global search #7630

@FerroMeow

Description

@FerroMeow

The problem

Working with global search would be more useful if we could exclude files to be searched.

The main motivation for this is performance - The editor freezes for minutes trying to search every single file in the system. This task is possible in other code editors, like VS Code.

Another benefit would be less clutter while searching. For example, if we're searching for all matches of word class in the code, we probably don't need the matches from *.md files

Ideas regarding a possible solution

  1. The ability to whitelist files for global search - if not matched, don't search
  2. The ability to blacklist files for global search search - if matched, don't search
  3. defining these by glob or regex syntax - regex would be a more robust solution I think

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions