-
-
Notifications
You must be signed in to change notification settings - Fork 649
[inspector] Add configuration for max-nested-depth and spacious #3664
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,10 @@ You'll have access to additional keybindings in the inspector buffer | |
| `cider-inspector-set-max-coll-size` | ||
| Set a new maximum size above which nested collections are truncated | ||
|
||
| kbd:[C] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it'd better to pick some free lowercase letter for this. (e.g. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I chose a capital letter intentionally to not take away a letter from the binding space. I don't consider this customization to be used often or ever. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Besides, there is certain synergy in changing length ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fair enough. |
||
| `cider-inspector-set-max-nested-depth | ||
| Set a new maximum nesting level above which the collections are truncated | ||
|
||
| kbd:[a] | ||
| `cider-inspector-set-max-atom-length` | ||
| Set a new maximum length above which nested atoms (non-collections) are truncated | ||
|
@@ -118,9 +122,10 @@ can disable the auto selection with the variable | |
`cider-inspector-auto-select-buffer`. | ||
|
||
You can set the amount of data shown by default with the variables | ||
`cider-inspector-page-size`, `cider-inspector-max-coll-size`, and | ||
`cider-inspector-max-atom-length`. The values can be adjusted for the current | ||
inspector buffer using the `s`, `c`, and `a` keybindings. | ||
`cider-inspector-page-size`, `cider-inspector-max-coll-size`, | ||
`cider-inspector-max-nested-depth`, and `cider-inspector-max-atom-length`. The | ||
values can be adjusted for the current inspector buffer using the keybidings | ||
listed in the table above. | ||
|
||
If you enable `cider-inspector-fill-frame`, the inspector window fills its | ||
frame. | ||
|
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.
Maybe explain a bit more what "spaciously" means in this context. If I didn't know what this controls I'd have a hard time figuring it out.
Btw, why did you decide to make this a
defvar
instead ofdefcusom
? I doubt anyone was particularly attached to the extra spaces, but defcustoms are easier to discover.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.
I saw your other comment, forget about this.