Configuration variable index
An alphabetical reference of Projectile’s user-facing configuration variables,
with a one-line summary of each. For full details and to change a variable, use
C-h v (describe-variable) or M-x customize-group RET projectile. The
variables are documented in context throughout Configuration,
Indexing & performance, Per-project sessions
and the other reference pages.
| Variable | Purpose |
|---|---|
|
Hooks run right after project is switched. |
|
Whether to index projects without freezing Emacs. |
|
Whether to cleanup projects when project switching commands are invoked. |
|
Whether to discover projects under ‘projectile-project-search-path’. |
|
Whether cache is automatically updated when files are opened or deleted. |
|
When non-nil, watch project directories to keep the files cache fresh. |
|
Hooks run right before project is switched. |
|
A function used to filter the buffers in ‘projectile-project-buffers’. |
|
Command used by projectile to get the files in a bazaar project. |
|
The name of Projectile’s cache. |
|
Controls when inputs are added to projectile’s command history. |
|
Make the output buffer of ‘projectile-compile-project’ interactive. |
|
The completion system to be used by Projectile. |
|
Make the output buffer of ‘projectile-configure-project’ interactive. |
|
During toggling, if non-nil enables creating test files if not found. |
|
Determines whether to display current project when switching projects. |
|
Command used by projectile to get the files in a darcs project. |
|
The default value of a project’s src-dir property. |
|
The default value of a project’s test-dir property. |
|
‘projectile-dirconfig-file‘ comment start marker. |
|
The file which serves both as a project marker and configuration file. |
|
If true, update the mode-line dynamically. |
|
When t enables project files caching. |
|
Enables configuration with CMake presets. |
|
When non-nil, rank project files by frecency in completion. |
|
Path or name of fd executable used by Projectile if enabled. |
|
Number of seconds before the local file existence cache expires. |
|
Number of seconds before the remote file existence cache expires. |
|
Number of seconds before project files list cache expires. |
|
Hooks run when a directory is opened with ‘projectile-find-dir’. |
|
If true, add top-level dir to options offered by ‘projectile-find-dir’. |
|
Hooks run when a file is opened with ‘projectile-find-file’. |
|
Command used by projectile to get the files in a fossil project. |
|
File where Projectile persists the per-project file visit history. |
|
Maximum number of files tracked per project. |
|
Command used by projectile to get the files in a generic project. |
|
Command used by projectile to get the files in a git project. |
|
Arguments to fd used to re-implement ‘git ls-files’. |
|
Command used by projectile to get the ignored files in a git project. |
|
Command used by projectile to list submodules of a given git repository. |
|
Non-nil means use fd to implement git ls-files. |
|
A list of file regexp patterns ignored by Projectile. |
|
A list of buffer-names ignored by projectile. |
|
A list of directories globally ignored by projectile. |
|
A list of file suffixes globally ignored by projectile. |
|
A list of files globally ignored by projectile. |
|
A list of regular expressions for major modes ignored by projectile. |
|
A list of directories globally unignored by projectile. |
|
A list of files globally unignored by projectile. |
|
Function to determine if project’s type is go. |
|
Hooks run when ‘projectile-grep’ finishes. |
|
Command used by projectile to get the files in a hg project. |
|
Command used by projectile to get the ignored files in a hg project. |
|
Function to decide if a project is added to ‘projectile-known-projects’. |
|
A list of projects not to be added to ‘projectile-known-projects’. |
|
Specifies the indexing method used by Projectile. |
|
Make the output buffer of ‘projectile-install-project’ interactive. |
|
Command used by projectile to get the files in a Jujutsu project. |
|
Projectile keymap prefix. |
|
Determine which buffers are killed by ‘projectile-kill-buffers’. |
|
Name and location of the Projectile’s known projects file. |
|
Maximum number of file buffers per project that are kept open. |
|
Non-nil if Projectile mode is enabled. |
|
Hook run after entering or leaving ‘projectile-mode’. |
|
The function to use to generate project-specific mode-line. |
|
Mode line lighter prefix for Projectile. |
|
Alist of extensions for switching to file with the same name, |
|
Make the output buffer of ‘projectile-package-project’ interactive. |
|
When non-nil, the compilation command makes the per-project compilation buffer. |
|
Command used by projectile to get the files in a pijul project. |
|
Functions to run when the current project changes. |
|
If this value is non-nil, it will be used as project name. |
|
A function that receives the project-root and returns the project name. |
|
A list of files considered to mark the root of a project. |
|
A list of files considered to mark the root of a project. |
|
A list of files considered to mark the root of a project. |
|
A list of functions for finding project root folders. |
|
List of folders where projectile is automatically going to look for projects. |
|
Function to find related files based on PROJECT-TYPE. |
|
Whether the reviewable search/replace commands scan asynchronously. |
|
Upper bound on how many matches ‘projectile-replace-review’ collects. |
|
Require the presence of a project root to operate when true. |
|
Make the output buffer of ‘projectile-run-project’ interactive. |
|
Command used by projectile to get the files in a Sapling project. |
|
The backend ‘projectile-search’ uses to search the project. |
|
Whether ‘projectile-search-review’ accelerates literal search with ripgrep. |
|
Whether ‘projectile-session-mode’ saves sessions automatically. |
|
How buffers are turned into readable records and back. |
|
Action used to populate a project’s freshly created tab. |
|
Directory under which per-project session files are stored. |
|
Non-nil if Projectile-Session mode is enabled. |
|
Hook run after entering or leaving ‘projectile-session-mode’. |
|
Whether to reopen every saved project session when Emacs starts. |
|
Whether switching to a project restores its saved session. |
|
Function computing the tab name for a project. |
|
The backend ‘projectile-run’ uses to open a shell/REPL/terminal. |
|
Controls whether to display Projectile’s menu. |
|
The sort order used for a project’s files. |
|
Command used by projectile to get the files in a svn project. |
|
Command used by projectile to get the ignored files in a svn project. |
|
Action invoked after switching projects with ‘projectile-switch-project’. |
|
Action run by ‘projectile-switch-project-other-frame’ after switching. |
|
Action run by ‘projectile-switch-project-other-window’ after switching. |
|
The name of the tags file Projectile excludes from indexing. |
|
An alist of named tasks that can be run with ‘projectile-run-task’. |
|
Rules telling ‘projectile-run-test-at-point’ how to run a single test. |
|
Function to find test files prefix based on PROJECT-TYPE. |
|
Function to find test files suffix based on PROJECT-TYPE. |
|
Make the output buffer of ‘projectile-test-project’ interactive. |
|
Controls whether Projectile will automatically register known projects. |
|
If true, use ‘vc-git-grep’ in git projects. |
|
Alist of (MARKER . VCS) pairs probed by ‘projectile-project-vcs’. |
|
Echo messages that are not errors. |
|
Whether to warn about deprecated prefix-less ignore entries. |
|
Whether to warn when a non-empty .projectile is bypassed by alien indexing. |
|
Maximum number of file-notify watches to register per project. |