Skip to content

Streamline navigating from *cider-error* to the inspector #3565

@vemv

Description

@vemv

Context

*cider-error* shows ex-data when displaying a given exception. Said ex-data can be intrincate, and therefore jumping to the Inspector is a natural thing to want.

Currently, if I press RET, nothing will happen (other than newline: Buffer is read-only: #<buffer *cider-error*>)

Proposal

When hitting RET, the given exception should be inspected.

Notes

*cider-error* can have N causes. RET ing each cause should inspect a different object.

It probably would be idea to store in a var (e.g. cider.nrepl.middleware.ex/xxx) the current exception being shown in *cider-error*, given that it doesn't necessarily corresponds to *e.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions