Skip to content

Feature Request : Have cider-eval-last-sexp prompt for context #2113

@l0st3d

Description

@l0st3d

It might be nice if, when trying to eval an sexp from the middle of a function, there was some way to inject some form of context. I'm imagining something like wrapping the form in a let before trying to eval it. Ideally CIDER would prompt me for each of the undefined forms either by analysing the code before evaluation, and remember my previous input, but I'd be happy with just being prompted for a let-binding form to insert, which could default to an empty vector. The idea is to not have to pollute the namespace I'm working in with temporary vars that I need to remember to remove and undefine later.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions