Skip to content

Should cider sexp evaluation include meta hints and reader macros? #1171

@Malabarba

Description

@Malabarba

When you invoke cider-eval-last-sexp at the end of the following snippet, only the function is sent for evaluation, not the hint.

^{:batman false} (inc 1)

However, to the clojure reader, that is a single expression. Now, I'm not saying that's a bug, and I realise this is in line with sexp navigation (which should not change), but perhaps it would be convenient for cider to send that entire thing for evaluation?

This is a bit more annoying when dealing with reader macros. i.e., #inst "1970-01-01T00:00:09" is pretty hard to evaluate.

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