Skip to content

Latest commit

 

History

History

nrepl-middleware

ritz-nrepl-middleware

Middleware for nREPL.

Usage

Add ritz-nrepl-middleware to your :dev :dependencies vector, and add the middleware to :nrepl-middleware under :repl-options. You can do this in your project.clj file, or in the :user profile in ~/.lein/profiles.clj.

:dependencies [[ritz/ritz-nrepl-middleware "0.7.0"]]
:repl-options {:nrepl-middleware
                [ritz.nrepl.middleware.javadoc/wrap-javadoc
                 ritz.nrepl.middleware.simple-complete/wrap-simple-complete]}

Provided nREPL ops

"javadoc" : Returns a url of the javadoc for the specified symbol

"apropos" : Returns a description of each function matching a partial symbol

"doc" : Returns the doc string for the specified symbol

"describe-symbol" : Returns a description of the specified symbol

"complete" : Simple completion

"complete" : Fuzzy completion

"eval" : eval with source form tracking

"load-file" : load file with optional locals clearing and dead var removal

API Docs

License

Copyright © 2012, 2013 Hugo Duncan

Distributed under the Eclipse Public License.