Function: cider-find-ns

cider-find-ns is an autoloaded, interactive and byte-compiled function defined in cider-find.el.

Signature

(cider-find-ns &optional ARG NS)

Documentation

Find the file containing NS.

A prefix ARG of `-` or a double prefix argument causes the results to be displayed in a different window.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-find.el
;;;###autoload
(defun cider-find-ns (&optional arg ns)
  "Find the file containing NS.
A prefix ARG of `-` or a double prefix argument causes
the results to be displayed in a different window."
  (interactive "P")
  (cider-ensure-connected)
  (cider-ensure-op-supported "ns-path")
  (if ns
      (cider--find-ns ns)
    (let* ((namespaces (cider-sync-request:ns-list))
           (ns (completing-read "Find namespace: " namespaces)))
      (cider--find-ns ns (cider--open-other-window-p arg)))))