Variable: cider-ns-magic-require-aliases
cider-ns-magic-require-aliases is a customizable variable defined in
cider-ns.el.
Value
(("edn" . "clojure.edn") ("io" "clojure.java.io" "clj")
("math" . "clojure.math") ("set" . "clojure.set")
("str" . "clojure.string") ("walk" . "clojure.walk")
("zip" . "clojure.zip"))
Documentation
Aliases for magic requires to fall back on, and the namespaces they stand for.
An entry is (ALIAS . NAMESPACE), or (ALIAS NAMESPACE PLATFORM...) for a
namespace that's there only on the PLATFORMs it lists, "clj" or
"cljs". The entries count for an alias the project's source files
don't use, and a cider-nrepl recent enough to look at those files also
leaves out a namespace it can't find. See cider-ns-magic-requires.
This variable was added, or its default value changed, in cider version 2.1.0.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-ns.el
(defcustom cider-ns-magic-require-aliases
'(("edn" . "clojure.edn")
("io" "clojure.java.io" "clj")
("math" . "clojure.math")
("set" . "clojure.set")
("str" . "clojure.string")
("walk" . "clojure.walk")
("zip" . "clojure.zip"))
"Aliases for magic requires to fall back on, and the namespaces they stand for.
An entry is (ALIAS . NAMESPACE), or (ALIAS NAMESPACE PLATFORM...) for a
namespace that's there only on the PLATFORMs it lists, \"clj\" or
\"cljs\". The entries count for an alias the project's source files
don't use, and a cider-nrepl recent enough to look at those files also
leaves out a namespace it can't find. See `cider-ns-magic-requires'."
:type '(alist :key-type (string :tag "Alias")
:value-type (choice (string :tag "Namespace")
(cons :tag "Namespace for some platforms"
(string :tag "Namespace")
(repeat (choice (const "clj") (const "cljs"))))))
:safe #'listp
:group 'cider
:package-version '(cider . "2.1.0"))