Hello. I'm learning CIDER (v. 1.18), and I tried using cider-known-endpoints but couldn't get it to work.
This is what I did:
I started a local nREPL server listening on some port, e.g. 45678.
Then I put this in my init.el file:
(setq cider-known-endpoints
'(("localhost" "45678")))
After restarting Emacs, I ran cider-connect but it didn't automatically connect CIDER to my local server as I expected. Am I missing something?It should be
(setq cider-known-endpoints
'(("connection name" "localhost" "45678")))
The first tuple value is the labelAh! My bad, I should have read the doc more carefully. It does mention "completing reads"
I think the label was supposed to be optional. Also - this config is not about connecting automatically to CIDER, but about having some saved endpoints to which one can quickly connect with completion.