Variable: projectile-project-root-files
projectile-project-root-files is a customizable variable defined in
projectile.el.
Value
("platformio.ini" "project.godot" "foundry.toml" "alire.toml" "fpm.toml" "dub.sdl" "dub.json" "Package.swift" "build.zig.zon" "build.zig" "dune-project" "Project.toml" "elm.json" "pubspec.yaml" "info.rkt" "Cargo.toml" "stack.yaml" "DESCRIPTION" "Eldev" "Eask" "Cask" "shard.yml" "Gemfile" "bb.edn" "deps.edn" "build.boot" "project.clj" "project.scala" "build.mill" "build.sc" "build.sbt" "application.yml" "gradlew" "settings.gradle.kts" "settings.gradle" "build.gradle.kts" "build.gradle" "pom.xml" "manage.py" "uv.lock" "pdm.lock" "poetry.lock" "Pipfile" "tox.ini" "pyproject.toml" "setup.py" "requirements.txt" "_quarto.yml" "mkdocs.yml" "hugo.json" "hugo.yaml" "hugo.toml" "_config.yml" "composer.json" "turbo.json" "nx.json" "next.config.ts" "next.config.mjs" "next.config.js" ".angular-cli.json" "angular.json" "deno.jsonc" "deno.json" "gulpfile.js" "Gruntfile.js" "package.json" "gleam.toml" "mix.exs" "erlang.mk" "rebar.config" "go.mod" "Taskfile.dist.yaml" "Taskfile.dist.yml" "Taskfile.yaml" "Taskfile.yml" "CMakeLists.txt" "GNUmakefile" "Makefile" "debian/control" "pants.toml" ".buckconfig" "WORKSPACE.bazel" "WORKSPACE" "MODULE.bazel" "flake.nix" "default.nix" "meson.build" "SConstruct" "xmake.lua" "Justfile" ".justfile" "justfile" ".mise.toml" "mise.toml" "Pulumi.yaml" "Chart.yaml" "ansible.cfg" "docker-compose.yml" "docker-compose.yaml" "compose.yml" "compose.yaml" "?*.nimble" "?*.xcodeproj" "?*.xcworkspace" "?*.tf" "?*.slnx" "?*.sln" "?*.fsproj" "?*.csproj" "GTAGS" "TAGS" "configure.ac" "configure.in" "cscope.out")
Documentation
A list of files considered to mark the root of a project.
The topmost match has precedence.
See projectile-register-project-type.
This variable was added, or its default value changed, in projectile version 0.10.0.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260930.434/projectile.el
(defcustom projectile-project-root-files
'(
"GTAGS" ; GNU Global tags
"TAGS" ; etags/ctags are usually in the root of project
"configure.ac" ; autoconf new style
"configure.in" ; autoconf old style
"cscope.out" ; cscope
)
"A list of files considered to mark the root of a project.
The topmost match has precedence.
See `projectile-register-project-type'."
:group 'projectile
:type '(repeat string)
:package-version '(projectile . "0.10.0"))