Skip to content

Add more commands to cider-eval-dwim #3502

Closed as not planned
Closed as not planned
@samhedin

Description

@samhedin

Creating this issue to come up with more ideas for cider-eval-dwim. Right now, it's very close to covering all my eval-needs in one nice command.

Currently, it runs cider-eval-region and cider-eval-defun-at-point depending on whether a region is active.
It would be cool if it could run cider-eval-defun-to-comment.

But how to support this intuitively is not clear to me.
I considered prefix args, but that's already taken for cider-eval-defun-at-point.
Suggestions welcome for both how to add cider-eval-defun-to-comment, and other commands to include.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions