clojure-emacs / orchard

A fertile ground for Clojure tooling
Eclipse Public License 1.0
323 stars 54 forks source link

[inspector] Add `refresh` to replace individual set-* functions #269

Closed alexander-yakushev closed 1 month ago

alexander-yakushev commented 1 month ago

Currently, each config value has its own public setter with lots of repeatable code, room for error when copy-pasting, and spread documentation. Those setters are also not used when the inspector is started, so the validation does not work in that case.

This is me trying to wrangle this, to reduce the API surface, and to unify configuration between starting an inspector and changing the config in an existing one.

All existing functions are retained for compatibility and marked as deprecated.