Variable: projectile-project-root-files

projectile-project-root-files is a customizable variable defined in projectile.el.

Value

("Package.swift" "build.zig.zon" "dune-project" "Project.toml"
 "elm.json" "pubspec.yaml" "info.rkt" "Cargo.toml" "stack.yaml"
 "DESCRIPTION" "Eldev" "Eask" "Cask" "shard.yml" "Gemfile" "deps.edn"
 "build.boot" "project.clj" "build.mill" "build.sc" "build.sbt"
 "application.yml" "gradlew" "build.gradle" "pom.xml" "pyproject.toml"
 "poetry.lock" "Pipfile" "tox.ini" "setup.py" "requirements.txt"
 "manage.py" "angular.json" "package.json" "gulpfile.js"
 "Gruntfile.js" "mix.exs" "rebar.config" "composer.json"
 "Taskfile.yml" "CMakeLists.txt" "GNUMakefile" "Makefile"
 "debian/control" "WORKSPACE" "flake.nix" "default.nix" "meson.build"
 "SConstruct" "xmake.lua" "?*.nimble" "?*.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.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/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))