Make the default printer configurable
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 906
- Forks
- 108
- Avg merge
- 18h 29m
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem? Please describe.
Currently the default printer is hard-code in pr-values and you can also override it in eval messages with the printer key. It might be a good idea to be able to override it globally using nREPL's config files.
Describe the solution you'd like
We should add a :printer and :printer-options to the known config keys that can be passed via .nrepl.edn. Printer would be a reference to a var and printer-opts to an options map.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating pr-values and the code that reads known configuration keys from .nrepl.edn. Trace how eval-message printer overrides are handled, then determine where global :printer and :printer-options values should enter that flow. Done means both keys are accepted from nREPL configuration and affect default printing without breaking per-message overrides.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100