Variable: projectile-search-backend
projectile-search-backend is a customizable variable defined in
projectile.el.
Value
auto
Documentation
The backend projectile-search uses to search the project.
Either a backend name registered in projectile-search-backends
(grep, ripgrep, ag, or one you registered yourself with
projectile-register-search-backend), auto to pick the first
available backend (favouring ripgrep, then grep), or prompt to be
asked which backend to use each time.
This variable was added, or its default value changed, in projectile version 3.0.0.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-search-backend 'auto
"The backend `projectile-search' uses to search the project.
Either a backend name registered in `projectile-search-backends'
\(`grep', `ripgrep', `ag', or one you registered yourself with
`projectile-register-search-backend'), `auto' to pick the first
available backend (favouring ripgrep, then grep), or `prompt' to be
asked which backend to use each time."
:group 'projectile
:type '(choice (const :tag "Automatic" auto)
(const :tag "Prompt each time" prompt)
(const :tag "grep" grep)
(const :tag "ripgrep" ripgrep)
(const :tag "ag" ag)
(symbol :tag "Other registered backend"))
:package-version '(projectile . "3.0.0"))