Variable: projectile-use-comint-mode

projectile-use-comint-mode is a customizable variable defined in projectile.el.

Value

nil

Documentation

Which of the commands Projectile runs get an interactive output buffer.

Projectile reports through compilation-mode, which is read-only. For a command covered here it uses comint-mode instead, so a build that asks a question, a test runner that drops into a debugger, or a task that wants a sudo password can be typed at.

The value is nil (nothing is interactive), t (everything is), or a list naming what is - the lifecycle phases configure, compile, test, install, package and run, and task for the named tasks run by projectile-run-task.

This variable was added, or its default value changed, in projectile version 3.4.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-use-comint-mode nil
  "Which of the commands Projectile runs get an interactive output buffer.

Projectile reports through `compilation-mode', which is read-only.  For a
command covered here it uses `comint-mode' instead, so a build that asks a
question, a test runner that drops into a debugger, or a task that wants a
sudo password can be typed at.

The value is nil (nothing is interactive), t (everything is), or a list
naming what is - the lifecycle phases `configure', `compile', `test',
`install', `package' and `run', and `task' for the named tasks run by
`projectile-run-task'."
  :group 'projectile
  :type '(choice (const :tag "Nothing" nil)
                 (const :tag "Everything" t)
                 (set :tag "Selected commands"
                      (const :tag "Configure" configure)
                      (const :tag "Compile" compile)
                      (const :tag "Test" test)
                      (const :tag "Install" install)
                      (const :tag "Package" package)
                      (const :tag "Run" run)
                      (const :tag "Tasks" task)))
  :package-version '(projectile . "3.4.0"))