Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
elisp
javadoc
src/ritz
test/ritz/nrepl/middleware
.gitignore
README.md
profiles.clj
project.clj

README.md

rtiz-nrepl

ritz-nrepl comprises an nREPL server and middleware. The server uses JPDA to provide debugger middleware. The library also provides general purpose middleware, which can be used with any nREPL client, independently of the debugger.

Alpha.

nREPL debugger server usage

Add lein-ritz to the :plugins key of your ~/.lein/profiles file (requires lein version 2).

{:user {:plugins [[lein-ritz "0.4.0"]]}}

Install the nrepl-ritz.el contrib from marmalade. If you are using a SNAPSHOT version of ritz-nrepl, you probably will need to install nrepl-ritz.el from melpa instead.

Note that on Emacs 23 you will need to install package.el.

Once installed, run the server with:

lein2 ritz-nrepl

Then in emacs, M-x nrepl and enter the port printed by the previous command.

nREPL general middleware usage

Add ritz-nrepl to your :dev :dependencies vector, and add the middleware to :nrepl-middleware under :repl-options in `project.clj.

:dependencies [[ritz/ritz-nrepl "0.4.0"]]
:repl-options {:nrepl-middleware ['ritz.nrepl.middleware.javadoc/wrap-javadoc]}

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

API Docs

License

Copyright © 2012 Hugo Duncan

Distributed under the Eclipse Public License.

Something went wrong with that request. Please try again.