Variable: cider-jack-in-default

cider-jack-in-default is a customizable variable defined in cider-jack-in.el.

Value

nil

Documentation

The default tool to use when doing cider-jack-in outside a project.

This value is consulted when no identifying file types (e.g. project.clj for Leiningen or deps.edn for the Clojure CLI) are found.

When nil (the default), CIDER auto-detects at jack-in time, picking clojure-cli when "clojure" is on PATH, else lein. Set this explicitly to skip the auto-detection.

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

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260821.817/cider-jack-in.el
;;; Jack-in defaults and toggles

(defcustom cider-jack-in-default nil
  "The default tool to use when doing `cider-jack-in' outside a project.
This value is consulted when no identifying file types (e.g. project.clj
for Leiningen or deps.edn for the Clojure CLI) are found.

When nil (the default), CIDER auto-detects at jack-in time, picking
`clojure-cli' when \"clojure\" is on PATH, else `lein'.  Set this
explicitly to skip the auto-detection."
  :type '(choice (const :tag "Auto-detect" nil)
                 (const lein)
                 (const clojure-cli)
                 (const shadow-cljs)
                 (const gradle)
                 (const babashka)
                 (const nbb)
                 (const basilisp))
  :group 'cider
  :safe #'symbolp
  :package-version '(cider . "0.9.0"))