Variable: projectile-globally-ignored-directories
projectile-globally-ignored-directories is a customizable variable
defined in projectile.el.
Value
(".idea" ".vscode" ".ensime_cache" ".eunit" ".git" ".hg" ".fslckout" "_FOSSIL_" ".bzr" "_darcs" ".pijul" ".tox" ".svn" ".stack-work" ".ccls-cache" ".cache" ".clangd" ".sl" ".jj")
Documentation
A list of directories globally ignored by projectile.
Strings that don't start with * are only ignored at the top level of the project. Strings that start with * are ignored everywhere in the project, as if there was no *. So note that * when used as a prefix is not a wildcard; it is an indicator that the directory should be ignored at all levels, not just root.
Examples: "tmp" ignores only ./tmp at the top level of the
project, but not ./src/tmp. "*tmp" will ignore both ./tmp and
./src/tmp, but not ./not-a-tmp or ./src/not-a-tmp.
Note that files aren't filtered if projectile-indexing-method
is set to alien.
See also projectile-global-ignore-file-patterns.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defcustom projectile-globally-ignored-directories
'(".idea"
".vscode"
".ensime_cache"
".eunit"
".git"
".hg"
".fslckout"
"_FOSSIL_"
".bzr"
"_darcs"
".pijul"
".tox"
".svn"
".stack-work"
".ccls-cache"
".cache"
".clangd"
".sl"
".jj")
"A list of directories globally ignored by projectile.
Strings that don't start with * are only ignored at the top level
of the project. Strings that start with * are ignored everywhere
in the project, as if there was no *. So note that * when used as
a prefix is not a wildcard; it is an indicator that the directory
should be ignored at all levels, not just root.
Examples: \"tmp\" ignores only ./tmp at the top level of the
project, but not ./src/tmp. \"*tmp\" will ignore both ./tmp and
./src/tmp, but not ./not-a-tmp or ./src/not-a-tmp.
Note that files aren't filtered if `projectile-indexing-method'
is set to `alien'.
See also `projectile-global-ignore-file-patterns'."
:safe (lambda (x) (not (remq t (mapcar #'stringp x))))
:group 'projectile
:type '(repeat string))