javadoc - "No Javadoc middleware available"

333 views
Skip to first unread message

David Kincaid

unread,
Mar 11, 2013, 10:43:18 PM3/11/13
to nrep...@googlegroups.com
I get the message "No Javadoc middleware available" in the minibuffer when using C-c C-j in a Clojure buffer. Am I missing a configuration option somewhere?

Thanks,

Dave

David Kincaid

unread,
Apr 21, 2013, 6:56:07 PM4/21/13
to nrep...@googlegroups.com
No never got an answer and haven't even tried it since. I just went in and tried it tonight and now it opens Google Chrome on my computer and tries to go to the site "+javadoc" which obviously doesn't do much. So, still broken but in a different way now.

Dave

On Thursday, April 18, 2013 2:51:07 PM UTC-5, Christopher P wrote:
Dave, did you get an answer to your question? I'm having the same problem.

C-c C-d works for function definitions, if you have autocomplete loaded and you put the following in your .init:

  (add-hook 'nrepl-interaction-mode-hook
            'nrepl-turn-on-eldoc-mode)
  (define-key nrepl-interaction-mode-map (kbd "C-c C-d") 'ac-nrepl-popup-doc)


...but no javadoc.

Chris.

David Kincaid

unread,
May 17, 2013, 12:08:16 AM5/17/13
to nrep...@googlegroups.com
Thanks. I do that setup in my ~/.lein/profiles.clj. It still doesn't work.

On Thursday, May 16, 2013 10:19:10 AM UTC-5, Drift Crow wrote:

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]}

Drift Crow

unread,
May 20, 2013, 11:46:19 PM5/20/13
to nrep...@googlegroups.com

David Kincaid

unread,
May 20, 2013, 11:50:11 PM5/20/13
to nrep...@googlegroups.com
Thanks. I actually saw that the other day and have it bookmarked. I do have everything setup as in there, but still have things like the nRepl javadoc and autocomplete not working at all. I'm going to strip down my .emacs to nothing and start over I think. Something is conflicting.

Ron Lusk

unread,
Jan 17, 2014, 11:39:40 AM1/17/14
to nrep...@googlegroups.com
I had to specify lein with-profile user,dev deps

Reply all
Reply to author
Forward
0 new messages