Variable: projectile-tags-backend

projectile-tags-backend is a customizable variable defined in projectile.el.

Value

auto

Documentation

The tag backend that Projectile should use.

If set to auto, projectile-find-tag will automatically choose which backend to use. Preference order is ggtags -> xref
-> etags-select -> find-tag. Variable can also be set to specify which
backend to use. If selected backend is unavailable, fall back to find-tag.

If this variable is set to auto and ggtags is available, or if set to ggtags, then ggtags will be used for projectile-regenerate-tags. For all other settings projectile-tags-command will be used.

This variable was added, or its default value changed, in projectile version 0.14.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-tags-backend 'auto
  "The tag backend that Projectile should use.

If set to `auto', `projectile-find-tag' will automatically choose
which backend to use.  Preference order is ggtags -> xref
-> etags-select -> `find-tag'.  Variable can also be set to specify which
backend to use.  If selected backend is unavailable, fall back to
`find-tag'.

If this variable is set to `auto' and ggtags is available, or if
set to `ggtags', then ggtags will be used for
`projectile-regenerate-tags'.  For all other settings
`projectile-tags-command' will be used."
  :group 'projectile
  :type '(radio
          (const :tag "auto" auto)
          (const :tag "xref" xref)
          (const :tag "ggtags" ggtags)
          (const :tag "etags" etags-select)
          (const :tag "standard" find-tag))
  :package-version '(projectile . "0.14.0"))