Variable: projectile-auto-discover-projects

projectile-auto-discover-projects is a customizable variable defined in projectile.el.

Value

t

Documentation

Whether to discover projects under projectile-project-search-path.

When non-nil, the projects under the search path are discovered and remembered the first time a project-switching command runs in an Emacs session (see projectile-discover-projects-in-search-path).

This has no effect unless projectile-project-search-path is set, so the default is harmless out of the box; point the search path at your projects directory and they'll be picked up automatically.

See also projectile-project-search-path.

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

Aliases

projectile-auto-discover (obsolete since 3.4.0)

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-auto-discover-projects t
  "Whether to discover projects under `projectile-project-search-path'.
When non-nil, the projects under the search path are discovered and
remembered the first time a project-switching command runs in an Emacs
session (see `projectile-discover-projects-in-search-path').

This has no effect unless `projectile-project-search-path' is set, so
the default is harmless out of the box; point the search path at your
projects directory and they'll be picked up automatically.

See also `projectile-project-search-path'."
  :group 'projectile
  :type 'boolean
  :package-version '(projectile . "3.1.0"))