File: cider-endpoint.el.html

Helpers used by cider-connect to pick an endpoint: completing-read for hosts/ports/socket files, SSH host enumeration, and discovery of running nREPL servers on the local machine (or a remote TRAMP host) via ps/lsof with a short-lived cache.

Defined variables (8)

cider--running-nrepl-paths-cacheCache for ‘cider--running-nrepl-paths’.
cider-default-nrepl-portUse this port number when we couldn’t infer a port.
cider-host-historyCompletion history for connection hosts.
cider-infer-remote-nrepl-portsWhen true, cider will use ssh to try to infer nREPL ports on remote hosts.
cider-known-endpointsA list of connection endpoints where each endpoint is a list.
cider-ps-running-lein-nrepl-path-regexp-listRegexp list to get project paths.
cider-ps-running-lein-nrepls-commandProcess snapshot command used in ‘cider-locate-running-nrepl-ports’.
cider-running-nrepl-paths-cache-ttlHow long, in seconds, to cache the running-nREPL path scan.

Defined functions (20)

cider--completing-read-host(HOSTS)
cider--completing-read-port(HOST PORTS)
cider--completing-read-socket-file()
cider--host-history-candidate(ENTRY)
cider--infer-ports(HOST SSH-HOSTS)
cider--invoke-running-nrepl-path(F)
cider--lsof-fn-field(LSOF-ARGS)
cider--path->path-port-pairs(PATH)
cider--process-file-to-string(PROGRAM &rest ARGS)
cider--running-lein-nrepl-paths()
cider--running-local-nrepl-paths()
cider--running-non-lein-nrepl-paths()
cider--running-nrepl-paths()
cider--running-nrepl-paths-uncached()
cider--ssh-hosts()
cider--tramp-file-name(VEC)
cider-clear-running-nrepl-paths-cache()
cider-current-host()
cider-locate-running-nrepl-ports(&optional DIR)
cider-select-endpoint()

Defined faces (0)