-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Various UX improvements to Cider Inspector #2842
Conversation
and echo fully qualified var after successful def
Some additional rationale for these changes: I do most of my evaluation from code buffers and Also I found myself accidentally inspecting map keywords annoyingly often when trying to navigate between values, and it occurred that I would never want to inspect values like numbers and nils, just like the debugger skips over uninteresting values when stepping through code. Lastly this is perhaps more subjective, but I do cider-eval and cider-inspect-last-result quite frequently when trying to understand the shape of some large function outputs. Having the visible inspector buffer automatically update while keeping focus on the code buffer has been a nice improvement to the flow of repl-based dev. |
I'm fine with the proposed changes, but it'd be nice if they also got some coverage in the docs, so users would actually discover them. Right now the inspector has almost no documentation (https://docs.cider.mx/cider/debugging/misc.html#_inspecting_values) - it'd be nice if we expanded this into a dedicate page for it. I plan to do something similar for macroexpansion and profiling soon. |
Saves one keystroke from cursor being placed at point-min
Thanks! |
Thanks, I hope that setting those features on by default would be a welcome breaking change to most users :) About the docs, It looks like my newly added Could there be a short How-to writeup on contributing to the Asciidoc-based documentation? I didn't want to figure out from scratch how to set up the entire Antora toolchain, in order to render my changes and see that I didn't mess up the xref syntax or break something in the process. On an unrelated note I was also surprised to see the entire family of |
Just fixed this. You had missed the directory prefix for the page.
You don't really need to know much about Antora to work with it. I think this can get you pretty far https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/ :-) We can always add something to the manual, but AsciiDoc and Antora are documented so well that it seemed redundant to me.
Agreed. A lot of great features are not documented. :-) |
These are a few tweaks that I've made to the cider-inspector workflow, all based on improving the general user experience. Can split into multiple PRs if preferred.
Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
make test
)make lint
) which is based onelisp-lint
and includescheckdoc
, check-declare, packaging metadata, indentation, and trailing whitespace checks.