Function: projectile-search-in-sibling-projects

projectile-search-in-sibling-projects is an autoloaded, interactive and byte-compiled function defined in projectile.el.

Signature

(projectile-search-in-sibling-projects &optional REGEXP)

Documentation

Search the current project and the ones related to it, reviewing the matches.

Related is what projectile-switch-sibling-project means by it. With a prefix argument REGEXP the search term is an Emacs regexp rather than a literal string.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-search-in-sibling-projects (&optional regexp)
  "Search the current project and the ones related to it, reviewing the matches.

Related is what `projectile-switch-sibling-project' means by it.  With a
prefix argument REGEXP the search term is an Emacs regexp rather than a
literal string."
  (interactive "P")
  (let ((siblings (projectile--sibling-group)))
    (projectile-search-in-projects
     siblings (not regexp)
     (format "Search %d sibling project%s%s for"
             (length siblings) (if (cdr siblings) "s" "")
             (if regexp " regexp" "")))))