This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-04
Channels
- # atom-editor (2)
- # babashka (39)
- # beginners (123)
- # calva (90)
- # cider (57)
- # clojure (103)
- # clojure-australia (13)
- # clojure-europe (38)
- # clojure-france (3)
- # clojure-italy (13)
- # clojure-nl (7)
- # clojure-norway (2)
- # clojure-seattle (1)
- # clojure-uk (22)
- # clojurescript (28)
- # conjure (20)
- # cursive (2)
- # datascript (1)
- # datomic (20)
- # depstar (23)
- # emacs (1)
- # events (2)
- # graphql (12)
- # honeysql (4)
- # jobs (2)
- # kaocha (2)
- # malli (14)
- # music (2)
- # off-topic (103)
- # pathom (8)
- # polylith (7)
- # quil (3)
- # reagent (7)
- # reitit (2)
- # remote-jobs (1)
- # shadow-cljs (55)
- # slack-help (4)
- # spacemacs (29)
- # xtdb (16)
hmm, is there a good guideline how to debug coc/conjure autocompletion?
I can see coc-conjure being a coc source for completion in :CocList sources
but don’t get any completion for eg (clojure.string/s
tried enabling let g:conjure#debug = v:true
nothing interesting shows up
:CocInfo
shows:
vlaaad/reveal {:mvn/version "1.3.193"}
564 nrepl/nrepl {:mvn/version "0.8.3"}
565 cider/cider-nrepl {:mvn/version "0.25.7"}
566 refactor-nrepl/refactor-nrepl {:mvn/version "2.5.0"}
I have those depencies, anything more is needed?
The dependencies are correct, but have you set the middleware when starting up your nREPL? https://docs.cider.mx/cider/basics/middleware_setup.html Not sure how you're starting your REPL, this might all already be done, but I just want to confirm.
Just adding the dependencies isn't enough. If you use something like https://github.com/clojure-vim/vim-jack-in you get all this set up for you.
The CIDER and nREPL websites have reaaaaly good documentation for all of this too, it's all just one liners that I copy from that website then project to project.
(again, you may have all of this set up, but I want to confirm that this core dependency is all okay before chasing down weirder bugs etc)
I’ll check the setup, that might be that
I need to add support for nREPL 0.8+'s built in completion without CIDER, but I just haven't sat down to do it. It's not as powerful, but it's a baseline that requires no extra deps which is cool.
(defn start-nrepl
[env-port]
(let [server-map (nrepl/start-server
:port (or env-port 0)
:handler (apply nrepl.server/default-handler
(-> (map #'cider.nrepl/resolve-or-fail cider.nrepl/cider-middleware)
(conj #'refactor-nrepl.middleware/wrap-refactor)
(conj #'portal.nrepl/wrap-portal))))
; (conj #'vlaaad.reveal.nrepl/middleware))))
port (:port server-map)
port-file (io/file ".nrepl-port")]
(.deleteOnExit port-file)
(spit port-file port)
(println (ansi/green (str "nREPL client can be connected to port " port)))))