Big thanks for making it possible for the mac app Dash to search for and download cljdoc Docsets. It's really well executed!
Very glad to hear ☺️
Hi everyone. I'm running cljdoc locally, trying to explore the project, I managed to run the project and even run some modifications. But I couldn't run a nREPL and connect cider to it. I've being able to actually connect, but when I run system/-main
on modules/cli/src/cljdoc/cli.clj
it gives me the following error.
Could not locate cli_matic/core__init.class, cli_matic/core.clj or cli_matic/core.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
This happens when I try to evaluate the buffer using C-c C-k
.
Hey @renatoalencar.73 by default cljdoc runs as a server not a command line tool, so you’ll need to include they cli
deps.edn alias. Here’s what I have in my cljdoc .dir-locals.el
:
((clojure-mode . ((cider-clojure-cli-global-options . "-R:cli -C:cli"))))
Not sure the last time I ran this… might need to verify against new clojure cli syntax.Thank you so much, now I understand whats happening. On the cljdoc.server.system
namespace there's a comment
form with some forms to set everything up. From there, everything works fine.
Great! Glad to hear it!
I'm trying to find where the C-k
keystroke is set up. Do you know where this is?
I couldn't find nothing on the JS files.
Maybe here? https://github.com/cljdoc/cljdoc/blob/af58a4ba721c4ab10cb6dbc528432ec01510d320/js/switcher.js#L102
That's the one I'm looking for
Thank you