简体   繁体   中英

How is it possible to run the doc-command in a CounterClockwise-REPL in Eclipse?

Is it somehow possible to start the documentation within the REPL in Eclipse (I'm using the CounterClockwise-Plugin). I tried eg

(clojure.repl/doc doc)

but this throws:

ClassNotFoundException clojure.repl  java.net.URLClassLoader$1.run (URLClassLoader.java:366)

When I start a REPL from the terminal (eg using clojure or lein repl ), this works fine. I already used the full-qualified name, so I really don't get why this is not working.

The clojure.repl namespace comes with Clojure, but is not always in scope.

To get equivalent behavior to a normal repl you can execute the following:

 (use 'clojure.repl)

Or, more consertatively:

 (require '[clojure.repl :as repl])

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM