Variable: projectile-ignored-project-patterns

projectile-ignored-project-patterns is a customizable variable defined in projectile.el.

Value

nil

Documentation

Regexps matching projects not to be added to projectile-known-projects(var)/projectile-known-projects(fun).

The pattern-matching sibling of projectile-ignored-projects(var)/projectile-ignored-projects(fun), which takes exact paths, and projectile-ignored-project-function, which takes a predicate. Each entry is matched against the project root with string-match-p, so keeping the scratch areas of a machine out of the known projects is a line of configuration rather than a lambda:

    (setq projectile-ignored-project-patterns
          '("\\\\`/tmp/" "/Downloads/"))

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

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-ignored-project-patterns nil
  "Regexps matching projects not to be added to `projectile-known-projects'.

The pattern-matching sibling of `projectile-ignored-projects', which
takes exact paths, and `projectile-ignored-project-function', which takes
a predicate.  Each entry is matched against the project root with
`string-match-p', so keeping the scratch areas of a machine out of the
known projects is a line of configuration rather than a lambda:

    (setq projectile-ignored-project-patterns
          \\='(\"\\\\`/tmp/\" \"/Downloads/\"))"
  :group 'projectile
  :type '(repeat :tag "Regexps" regexp)
  :package-version '(projectile . "3.4.0"))