Exclude files in global search #7631
-
The problemWorking 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 Ideas regarding a possible solution
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
filtering paths using fuzzy matching in global search in case you want to only see certain files is already possible that won't affect performance tough. We want to make the selector streaming the future tough so that would improve performance. Helix however already respects ignore/git ignore files so a large number of build files can already be ignored that way. I think the use cases that you genuinely have millions of files that you don't want to ignore and can't wait to stream in is small and then you should probably use cli tools like rigprep and fd that are purpose-built. |
Beta Was this translation helpful? Give feedback.
filtering paths using fuzzy matching in global search in case you want to only see certain files is already possible that won't affect performance tough.
We want to make the selector streaming the future tough so that would improve performance. Helix however already respects ignore/git ignore files so a large number of build files can already be ignored that way. I think the use cases that you genuinely have millions of files that you don't want to ignore and can't wait to stream in is small and then you should probably use cli tools like rigprep and fd that are purpose-built.