Skip to content

CIDER 0.12 (Seattle)

Compare
Choose a tag to compare
@bbatsov bbatsov released this 17 Apr 02:47
· 2625 commits to master since this release

New Features

  • Option cider-use-tooltips controls the display of mouse-over tooltips.
  • f key reruns failed tests on the test-report buffer.
  • g key reruns test at point on the test-report buffer.
  • Debugger now supports step-in.
  • Improve CIDER's menu-bar menu:
    • Thoroughly reorganize it and split it into 3 separate menus;
    • Add custom-written :help strings to some items, and automatically add help strings to the rest;
    • Add a few commands;
    • Grey-out commands that rely on connections while there is no connection.
  • Var docstrings are automatically displayed in mouse-over tooltips.
  • #1636: New minor-mode cider-auto-test-mode for test-driven-development. When activated, tests are rerun after every load-file.
  • Javadoc commands take into account the variable clojure.java.javadoc/*remote-javadocs*.
  • Javadoc also works on classes of the AmazonAWS Java SDK.
  • Apropos commands now accept lists of space-separated words as arguments, in addition to regular expressions (similar to Emacs's own apropos commands).
  • #1541: New commands cider-apropos-select (bound to C-c C-d C-s) and cider-apropos-documentation-select (bound to C-c C-d c-e).
  • New function cider-expected-ns is like clojure-expected-ns, but uses classpath for better results. See clojure-mode#372.
  • A double prefix argument (C-u C-u) for cider-eval-defun-at-point debugs the sexp at point instead of the entire defun, and offers to create a conditional breakpoint.
  • New command cider-load-all-project-ns allows you to load all project namespaces.
  • Display eldoc for keywords used to get map keys.
  • Display eldoc for Classname..
  • Display namespace in eldoc.
  • cider-nrepl#313: Selectively suppress user-specified categories of middleware errors from foregrounding stacktrace buffers via the cider-stacktrace-suppressed-errors variable.

Changes

  • Doc buffer splits arglists into several lines.
  • Changed the face of the words “Macro” and “Special form” in the doc buffer to be easier to see.
  • Display multi-line eval overlays at the start of the following line. It looked weird that these overlays started on the middle of a line, but then folded onto the start of following lines.
  • #1627: Align the terminology used by cider-test with the one used by lein and boot (use the terms assertion and test).
  • Remove the warning about missing nREPl ops.
  • #1420: Show stacktrace buffers for sync requests errors.

Bugs fixed

  • cider-nrepl#329: Fix error instrumenting functions that call clojure.tools.logging.
  • #1643: Running tests no longer deletes unrelated overlays.
  • #1632: Redefining a function correctly updates eldoc.
  • #1630: The debugger no longer gets confused inside @ redefs.
  • #1599: Don't error when test makes 0 assertions.
  • #1563: Handle invalid regular expressions in apropos.
  • #1625: Display a more meaningful message when running
    an individual test using C-c C-t t.
  • Fix buffer closing in cider-close-ancillary-buffers.
  • Dynamic font-locking is also refreshed when a file's namespace depends on a namespace that was changed, so the traced-face should be immediately updated even on functions from another namespace.
  • #1656: Apply ansi colors to output when doing eval and print.