Function: projectile-discover-projects-in-search-path
projectile-discover-projects-in-search-path is an interactive and
byte-compiled function defined in projectile.el.
Signature
(projectile-discover-projects-in-search-path)
Documentation
Discover projects in projectile-project-search-path.
When called interactively, always re-scans; the automatic scan (see
projectile-auto-discover-projects) runs this once per session.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-discover-projects-in-search-path ()
"Discover projects in `projectile-project-search-path'.
When called interactively, always re-scans; the automatic scan (see
`projectile-auto-discover-projects') runs this once per session."
(interactive)
(setq projectile--search-path-discovered t)
(dolist (path projectile-project-search-path)
;; Skip remote entries: discovery would walk them over TRAMP.
(unless (file-remote-p (if (consp path) (car path) path))
(if (consp path)
(projectile-discover-projects-in-directory (car path) (cdr path))
(projectile-discover-projects-in-directory path 1)))))