Variable: projectile-project-search-path

projectile-project-search-path is a customizable variable defined in projectile.el.

Value

nil

Documentation

List of folders where projectile is automatically going to look for projects.

You can think of something like $PATH, but for projects instead of executables. Examples of such paths might be ~/projects, ~/work, (~/github . 1) etc.

For elements of form (DIRECTORY . DEPTH), DIRECTORY has to be a directory and DEPTH an integer that specifies the depth at which to look for projects. A DEPTH of 0 means check DIRECTORY. A depth of 1 means check all the subdirectories of DIRECTORY. Etc.

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

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-project-search-path nil
  "List of folders where projectile is automatically going to look for projects.
You can think of something like $PATH, but for projects instead of executables.
Examples of such paths might be ~/projects, ~/work, (~/github . 1) etc.

For elements of form (DIRECTORY . DEPTH), DIRECTORY has to be a
directory and DEPTH an integer that specifies the depth at which to
look for projects.  A DEPTH of 0 means check DIRECTORY.  A depth of 1
means check all the subdirectories of DIRECTORY.  Etc."
  :group 'projectile
  :type '(repeat (choice directory (cons directory (integer :tag "Depth"))))
  :package-version '(projectile . "1.0.0"))