Function: projectile-siblings-from-name
projectile-siblings-from-name is a byte-compiled function defined in
projectile.el.
Signature
(projectile-siblings-from-name ROOT)
Documentation
Return the known projects whose directory name starts like ROOT's.
Only the leading word counts. Matching on any shared word instead reads
far more into a name than is there - it relates every *-mode to every
other, and every docs.* site to the rest - whereas a shared first word
is nearly always a deliberate family (rubocop, rubocop-ast).
This is the signal of last resort: it's the only one left for a repository with no remote at all, and the only one that will ever relate two projects belonging to different owners.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-siblings-from-name (root)
"Return the known projects whose directory name starts like ROOT\\='s.
Only the leading word counts. Matching on any shared word instead reads
far more into a name than is there - it relates every `*-mode' to every
other, and every `docs.*' site to the rest - whereas a shared first word
is nearly always a deliberate family (`rubocop', `rubocop-ast').
This is the signal of last resort: it's the only one left for a
repository with no remote at all, and the only one that will ever relate
two projects belonging to different owners."
(projectile--siblings-by-key root #'projectile--project-leading-token))