The new episode of my Clojure Tip of the Day screencast is out.
You can find the video on YouTube: https://youtu.be/tCu2AewBTR4
The episode covers the cider-enlighten-mode. This mode can be used to quickly show values of local symbols and return values of functions in real time. Unfortunately, the feature is not available in ClojureScript buffers.
Notice, that unlike for cider-debugger (cider-debug-print-length and cider-debug-print-level), there’s no option to customize the print-length for the enlighten mode (see Cider implementation details below).
Cider implementation details:
- main function handling enlighten mode: cider–handle-enligthen
- hardcoded limit (*print-length* 3) in cider-nrepl
- Pull Request #1545 that introduced the cider-enlighten-mode