Function: cider-format-region

cider-format-region is an autoloaded, interactive and byte-compiled function defined in cider-format.el.

Signature

(cider-format-region START END)

Documentation

Format the Clojure code in the current region.

START and END represent the region's boundaries.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-format.el
;;;###autoload
(defun cider-format-region (start end)
  "Format the Clojure code in the current region.
START and END represent the region's boundaries."
  (interactive "r")
  (cider-ensure-connected)
  (cider--format-region start end
                        (lambda (buf)
                          (cider-sync-request:format-code buf cider-format-code-options))))