File: cider-compilation.el.html

Parse, classify, and surface Clojure compilation errors and warnings.

Sits below cider-eval.el: turns nREPL stacktrace/eval-error responses into the *cider-error* buffer, source overlays, and inline messages, and offers the user-tunable knobs that govern that behaviour
(cider-show-error-buffer, cider-auto-jump-to-error, cider-auto-select-error-buffer,
cider-clojure-compilation-error-phases, cider-inline-error-message-function).

Defined variables (9)

cider--clojure-1.10-errorRegexp matching error messages triggered in compilation / read / print phases.
cider--clojure-warningRegexp matching various non-error messages, e.g. reflection warnings.
cider-auto-jump-to-errorControl the cursor jump behavior in compilation error buffer.
cider-auto-select-error-bufferControls whether to auto-select the error popup buffer.
cider-clojure-compilation-error-phasesError phases which will not cause the ‘*cider-error*’ buffer to pop up.
cider-clojure-compilation-regexpA few example values that will match:
cider-compilation-regexpSpecifications for matching errors and warnings in Clojure stacktraces.
cider-inline-error-message-functionA function that will shorten a given error message,
cider-show-error-bufferControl the popup behavior of cider stacktraces.

Defined functions (23)

cider--analyze-last-stacktrace(CALLBACK)
cider--clear-compilation-highlights()
cider--display-error-unobtrusively(BUFFER ERR)
cider--find-last-error-location(ERROR-INFO)
cider--goto-expression-start()
cider--handle-err-eval-response(RESPONSE)
cider--handle-stacktrace-response(CAUSES EX-PHASE SOURCE-BUFFER)
cider--quit-error-window()
cider--render-stacktrace-causes(CAUSES &optional ERROR-TYPES IS-COMPILATION REPL)
cider--shorten-error-message(ERR)
cider--show-error-buffer-p()
cider-clear-compilation-highlights(&optional ARG)
cider-clojure-compilation-error-phases()
cider-default-err-eval-handler()
cider-default-err-eval-print-handler()
cider-default-err-handler(&optional BUFFER)
cider-default-err-op-handler(BUFFER)
cider-emit-into-color-buffer(BUFFER VALUE)
cider-extract-error-info(REGEXP MESSAGE)
cider-find-property(PROPERTY &optional BACKWARD)
cider-handle-compilation-errors(MESSAGE EVAL-BUFFER &optional NO-JUMP)
cider-jump-to-compilation-error(&optional ARG RESET)
cider-new-error-buffer(&optional MODE ERROR-TYPES DONT-SHOW)

Defined faces (2)

cider-error-highlight-faceFace used to highlight compilation errors in Clojure buffers.
cider-warning-highlight-faceFace used to highlight compilation warnings in Clojure buffers.