Fork me on GitHub
#cider
<
2018-05-13
>
stardiviner10:05:55

When I cider-jack-in without project, I load core.async with (require '[clojure.core.async :as a]) . But got error:

1. Unhandled java.io.FileNotFoundException
   Could not locate clojure/core/async__init.class or clojure/core/async.clj on classpath.
When I jack-in with project. core.async is loaded. What's the difference, and why?

jumar11:05:27

@stardiviner I guess you don't have core.async available as a dependency on classpath

stardiviner11:05:21

You can I need to include core.async into clj -Ddeps explicitly?

stardiviner11:05:49

Isn't the core.async in Clojure by default.

jumar11:05:59

no, it isn't

jumar11:05:10

it's a separate library

stardiviner11:05:34

Aho, I see. Thanks

bozhidar16:05:21

At the beginning I think the intention was to develop it separately for a while and then include it, but I guess that’s never happening at this point.

hlolli18:05:27

is it possible to surpress printing eldoc of keywords?

bozhidar19:05:42

I don’t recall if I made this configurable or not, but it’s trivial to do so.

bozhidar19:05:11

You can file a ticket, so I will remember to take a look.

hlolli19:05:43

will do, thx

hlolli19:05:52

there's already one here https://github.com/clojure-emacs/cider/issues/1968 and a temporary solutin in the comment

Karol Wójcik19:05:49

Hi i tried to connect to nashorn repl in cljs file here is the file content

(ns clojurescript-playground.core)

(defn foo
  "I don't do a whole lot."
  [x]
  (println x "Hello, World!"))
and the project.clj is
(defproject clojurescript-playground "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url ""
  :license {:name "Eclipse Public License"
            :url ""}
  :dependencies [[org.clojure/clojure "1.9.0"]
                 [org.clojure/clojurescript "1.10.238"]]
  :repositories [["" ""]
                 ["sonatype" {:url ""}]]
  :profiles {:dev {:dependencies [[cider/piggieback "0.3.2"]]}}
  :repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]})
The error
2. Unhandled clojure.lang.Compiler$CompilerException
   Error compiling /tmp/form-init5963414928397737092.clj at (1:29)

1. Caused by java.lang.ClassNotFoundException
   cljs.repl.nashorn
Anyone experienced similiar issue? It is possible that my clojurescript version has no support for nashorn?