clojure-emacs / cider-nrepl

A collection of nREPL middleware to enhance Clojure editors with common functionality like definition lookup, code completion, etc.
https://docs.cider.mx/cider-nrepl
670 stars 175 forks source link

[inspect] Introduce support for :view-mode config and inspect-toggle-view-mode op #879

Closed alexander-yakushev closed 1 month ago

alexander-yakushev commented 1 month ago
  1. Adding :view-mode as a supported config options passed from CIDER to Orchard. This part is straightforward.
  2. Given that I wanted the view-mode to be a toggle, the best place for toggling logic is here. Adding it on CIDER side would require CIDER to know what is the current view-mode of the inspector which is extra work. cider-nrepl has that information though, so it's easy to do it here.