nrepl / nrepl/nrepl

Make the default printer configurable

Open
#93 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Good First Issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.