Skip to content

Broken: cider-eval-defun-at-point needs a Clojure REPL #1611

Closed
@arichiardi

Description

@arichiardi

Expected behavior

It should evaluate forms from cljs files to cljs repl with cider-eval-defun-at-point

Actual behavior

The form is not evaluated with message:

user-error: `cider-eval-defun-at-point' needs a Clojure REPL.
If you don't know what that means, you probably need to jack-in (`C-c M-j').

Steps to reproduce the problem

In replumb, I can provide a branch, lein repl then connect or jack-in then start a Cljs repl with either:

(require 'figwheel-sidecar.repl-api)
(figwheel-sidecar.repl-api/start-figwheel!)
(figwheel-sidecar.repl-api/cljs-repl)

Same thing with cider-jack-in-clojurescript, of course targeting the cljs repl.

Environment & Version information

CIDER version information

;; CIDER 0.11.0 (Bulgaria), nREPL 0.2.12
;; Clojure 1.7.0, Java 1.8.0_72

Emacs version

24.5

Operating system

Ubuntu Linux

Maybe related: clojure-emacs/cider-nrepl#301

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