Allow extending Search by replacing ripgrep with a stand in replacement search tool #87841
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
search
Search widget and operation issues
The idea is to allow extending the Search panel by providing an alternative for Ripgrep, one that outputs a similar format.
The use-case I'm addressing is one where a user wants to find-in-files by running some query that's applied to every file. The extension provides a "find callback" (the one that's getting called per-each file).
A concrete example: Running a TSQuery on all files, finding all function declarations, for instance.
This Search Extension I'm suggesting should do 2 things:
The button will be a toggle button that once toggled on will cause every search to go through the the replacement, so eventually the search results will be comprised of all the files that fall underneath the search criteria.
And here are some screenshots, to clarify the process of using such extension:
The text was updated successfully, but these errors were encountered: