Variable: projectile-subproject-markers
projectile-subproject-markers is a customizable variable defined in
projectile.el.
Value
nil
Documentation
File names that mark a subproject inside a project.
When nil (the default) the markers are derived from the registered project types - every type's :project-file - so registering a project type also teaches Projectile to recognize its manifest inside a monorepo. Set this to an explicit list to narrow things down, e.g. to the manifests of the languages you actually work in.
Derived markers never include the wildcard patterns some types use
(?*.csproj and friends), nor names with a directory component.
This variable was added, or its default value changed, in projectile version 3.3.0.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Subprojects
;;
;; A monorepo is one project as far as version control (and therefore
;; Projectile) is concerned, but its parts each have a manifest of their
;; own - a crate, a package, a module. Those are subprojects: Projectile
;; keeps treating the repository as the project, and these commands let
;; you work on the part you're in.
(defcustom projectile-subproject-markers nil
"File names that mark a subproject inside a project.
When nil (the default) the markers are derived from the registered
project types - every type's `:project-file' - so registering a project
type also teaches Projectile to recognize its manifest inside a
monorepo. Set this to an explicit list to narrow things down, e.g. to
the manifests of the languages you actually work in.
Derived markers never include the wildcard patterns some types use
\(`?*.csproj' and friends), nor names with a directory component."
:group 'projectile
:type '(choice (const :tag "Derive from the registered project types" nil)
(repeat string))
:package-version '(projectile . "3.3.0"))