Function: cider-find-dwim

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

Signature

(cider-find-dwim SYMBOL-FILE)

Documentation

Find and display the SYMBOL-FILE at point.

SYMBOL-FILE could be a var or a resource. If thing at point is empty then show Dired on project. If var is not found, try to jump to resource of the same name. When called interactively, a prompt is given according to the variable cider-prompt-for-symbol. A single or double prefix argument inverts the meaning. A prefix of - or a double prefix argument causes the results to be displayed in a different window. A default value of thing at point is given when prompted.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-find.el
;;;###autoload
(defun cider-find-dwim (symbol-file)
  "Find and display the SYMBOL-FILE at point.
SYMBOL-FILE could be a var or a resource.  If thing at point is empty then
show Dired on project.  If var is not found, try to jump to resource of the
same name.  When called interactively, a prompt is given according to the
variable `cider-prompt-for-symbol'.  A single or double prefix argument
inverts the meaning.  A prefix of `-' or a double prefix argument causes
the results to be displayed in a different window.  A default value of thing
at point is given when prompted."
  (interactive (cider--find-dwim-interactive "Jump to: "))
  (cider--find-dwim symbol-file `cider-find-dwim
                    (cider--open-other-window-p current-prefix-arg)))