-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Inspector] Configure truncation limits #694
[Inspector] Configure truncation limits #694
Conversation
Orchard 0.7 is out. You can update his PR. |
e6eccef
to
6790663
Compare
6790663
to
ea7d1f2
Compare
Migth be good idea to rebase on top of |
The limits after which the inspector truncates collection members are now configurable. Previously they were hardcoded to 5 and 150 for collection and atom (non-collection) members.
ea7d1f2
to
63e290e
Compare
;; code isn't processed by mranderson and so can't refer to inlined deps | ||
;; including orchard. | ||
;; See also https://github.com/benedekfazekas/mranderson/issues/5 | ||
(let [max-len 150 #_(var-get #'orchard.inspect/*max-atom-length*) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One other new change is an attempt to avoid hard-coding orchard's defaults here, but I couldn't get mranderson to munge the test code requires. I gave up after a few stabs at editing project.clj with-profile +test
/:source-paths
/:test-paths
entries, and reverted to hard-coding. I think benedekfazekas/mranderson#5 is related.
Thanks! |
TODO: adjust cider/orchard version when published
The limits after which the inspector truncates collection members are now
configurable. Previously they were hardcoded to 5 and 150 for collection and
atom (non-collection) members.
This continues the work in clojure-emacs/orchard#111 and needs to be updated with the right orchard version number before it can merge.