branch: elpa/cider commit 4b175e63877b2976bcf2ddd7c92f114900de9df5 Author: Oleksandr Yakushev <a...@bytopia.org> Commit: Oleksandr Yakushev <a...@bytopia.org>
[docs] Update inspector docs --- CHANGELOG.md | 15 ++++++++++++--- doc/modules/ROOT/pages/debugging/inspector.adoc | 13 +++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 886845a37c..e0c646c178 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## master (unreleased) +### New features + +- [#3802](https://github.com/clojure-emacs/cider/issues/3802): Inspector analytics. +- [#3802](https://github.com/clojure-emacs/cider/issues/3802): Inspector table view-mode. +- [orchard#320](https://github.com/clojure-emacs/orchard/pull/320): Info: recognize printed Java classes/methods and munged Clojure functions in stacktrace outputs. + ### Changes - [#3782](https://github.com/clojure-emacs/cider/issues/3782): **(Breaking)** Drop official support for Emacs 26. @@ -9,18 +15,21 @@ - `cider-stacktrace-analyze-string` and `cider-stacktrace-analyze-at-point` functions. - Automatic stacktrace parsing in log viewer. - Bump the injected `cider-nrepl` to [0.54.0](https://github.com/clojure-emacs/cider-nrepl/blob/master/CHANGELOG.md#0540-2025-04-05). - - Info: recognize printed Java classes/methods and munged Clojure functions in stacktrace outputs. + - [compliment#122](https://github.com/alexander-yakushev/compliment/pull/122): Completion: sort candidates by priority. - Inspector: add dedicated view for Exceptions. - Stop vendoring Haystack dependency. - - Stop vendoring Puget dependency. You can still user `puget` pretty-printing for CIDER, but you need to depend on Puget explicitly. If Puget is not found on the classpath, CIDER will revert to `clojure.pprint/pprint` for pretty-printing. + - Stop vendoring Puget dependency. You can still use `puget` pretty-printer in CIDER, but you need to depend on Puget explicitly. If Puget is not found on the classpath, CIDER will revert to `clojure.pprint/pprint` for pretty-printing. - [#3777](https://github.com/clojure-emacs/cider/issues/3777): Inspector no longer displays parsed Javadoc for Java classes and members. -- [#3784](https://github.com/clojure-emacs/cider/issues/3784): Inspector: make point less erratic when navigating between inspector screens. - [#3790](https://github.com/clojure-emacs/cider/issues/3790): Stacktrace: show messages and data for all exception causes by default. - [#3789](https://github.com/clojure-emacs/cider/issues/3789): Refactor and simplify exception handling. - [#3789](https://github.com/clojure-emacs/cider/issues/3796): Completion: disable client-side sorting (defer to backend-provided candidate order). - [#3797](https://github.com/clojure-emacs/cider/issues/3797): Completion: enable `cider-completion-style` by default (this enables richer completion suggestions where candidates don't have to strictly match the prefix). - [#3803](https://github.com/clojure-emacs/cider/pull/3803): Enable dynamic indentation for `clojure-ts-mode`. +### Bugs fixed + +- [#3784](https://github.com/clojure-emacs/cider/issues/3784): Inspector: make point less erratic when navigating between inspector screens. + ## 1.17.1 (2025-02-25) ### Changes diff --git a/doc/modules/ROOT/pages/debugging/inspector.adoc b/doc/modules/ROOT/pages/debugging/inspector.adoc index 2076d598d2..f6b1298863 100644 --- a/doc/modules/ROOT/pages/debugging/inspector.adoc +++ b/doc/modules/ROOT/pages/debugging/inspector.adoc @@ -36,10 +36,6 @@ You'll have access to additional keybindings in the inspector buffer | `cider-inspector-next-inspectable-object` | Navigate inspectable sub-objects -| kbd:[f] and kbd:[b] -| `forward-char`, `backward-char` -| Navigate across characters on a line - | kbd:[Return] | `cider-inspector-operate-on-point` | Inspect sub-objects @@ -52,7 +48,7 @@ You'll have access to additional keybindings in the inspector buffer | `cider-inspector-refresh` | Refresh the inspector (e.g. if viewing an atom/ref/agent) -| kbd:[SPC] or kbd:[Next] +| kbd:[SPC] or kbd:[Next] | `cider-inspector-next-page` | Jump to next page in paginated view @@ -60,6 +56,10 @@ You'll have access to additional keybindings in the inspector buffer | `cider-inspector-prev-page` | Jump to previous page in paginated view +| kbd:[y] +| `cider-inspector-display-analytics` +| Calculate and display analytics for the inspected object. Analytics is supported for lists of numbers, strings, tuples, maps; for large key-value maps. + | kbd:[s] | `cider-inspector-set-page-size` | Set a new page size in paginated view @@ -78,7 +78,8 @@ You'll have access to additional keybindings in the inspector buffer | kbd:[v] | `cider-inspector-toggle-view-mode` -| Switch the rendering of the current value between `:normal` and `:object` view mode. In `:object` mode, any value is rendered as a plain Java object (by displaying its fields) instead of custom rendering rules that the Inspector applies in `:normal` mode. +| Switch the rendering of the current value between `:normal`, `:table`, and + `:object` view modes. In `:table` mode, render the value as a table (only supported for sequences of maps or tuples). In `:object` mode, any value is rendered as a plain Java object (by displaying its fields) instead of custom rendering rules that the Inspector applies in `:normal` mode. | kbd:[d] | `cider-inspector-def-current-val`