Variable: projectile-sibling-project-functions

projectile-sibling-project-functions is a customizable variable defined in projectile.el.

Value

(projectile-siblings-from-groups
 projectile-siblings-from-owner
 projectile-siblings-from-name)

Documentation

Functions consulted by projectile-sibling-projects.

Each is called with a project root and should return a list of project directories related to it. They're consulted in order and their results concatenated, so the most trustworthy signal should come first; a project found by more than one is offered once, in the position the first function to report it put it.

Adding your own is the intended way to teach Projectile a grouping it can't infer - a workspace manifest, say. Note that projectile-sibling-max-group-share is applied inside the two built-in inferred signals rather than to this list, so a function you add is never capped: it is trusted the way a configured group is.

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-sibling-project-functions
  '(projectile-siblings-from-groups
    projectile-siblings-from-owner
    projectile-siblings-from-name)
  "Functions consulted by `projectile-sibling-projects'.

Each is called with a project root and should return a list of project
directories related to it.  They're consulted in order and their results
concatenated, so the most trustworthy signal should come first; a project
found by more than one is offered once, in the position the first
function to report it put it.

Adding your own is the intended way to teach Projectile a grouping it
can't infer - a workspace manifest, say.  Note that
`projectile-sibling-max-group-share' is applied inside the two built-in
inferred signals rather than to this list, so a function you add is never
capped: it is trusted the way a configured group is."
  :group 'projectile
  :type '(repeat function)
  :package-version '(projectile . "3.4.0"))