Variable: cider-preferred-build-tool

cider-preferred-build-tool is a customizable variable defined in cider.el.

Value

nil

Documentation

Allow choosing a build system when there are many.

When there are project markers from multiple build systems (e.g. lein and clojure-cli) the user is prompted to select one of them. When non-nil, this variable will suppress this behavior and will select whatever build system is indicated by the variable if present. Note, this is only when CIDER cannot decide which of many build systems to use and will never override a command when there is no ambiguity.

This variable was added, or its default value changed, in cider version 0.13.0.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defcustom cider-preferred-build-tool
  nil
  "Allow choosing a build system when there are many.
When there are project markers from multiple build systems (e.g. lein and
clojure-cli) the user is prompted to select one of them.  When non-nil, this
variable will suppress this behavior and will select whatever build system
is indicated by the variable if present.  Note, this is only when CIDER
cannot decide which of many build systems to use and will never override a
command when there is no ambiguity."
  :type '(choice (const lein)
                 (const clojure-cli)
                 (const shadow-cljs)
                 (const gradle)
                 (const babashka)
                 (const nbb)
                 (const basilisp)
                 (const :tag "Always ask" nil))
  :safe #'symbolp
  :package-version '(cider . "0.13.0"))