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
677 stars 176 forks source link

[inspector] Use orchard.inspect/refresh instead of individual setters #877

Closed alexander-yakushev closed 4 months ago

alexander-yakushev commented 4 months ago

Sister to clojure-emacs/orchard#269. This is how it would look like on the cider-nrepl side. Old ops are retained for compatibility and marked as deprecated.

alexander-yakushev commented 4 months ago

Ready to be reviewed now. I also added the support for new :view-mode option as now this is just another argument to eval or inspect-refresh.

alexander-yakushev commented 4 months ago

Actually, sorry, let me walk back that decision. :view-mode will ship in a separate PR.