This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # babashka (35)
- # beginners (70)
- # bristol-clojurians (1)
- # calva (30)
- # cider (2)
- # cljsrn (203)
- # clojure (20)
- # clojure-australia (3)
- # clojure-europe (17)
- # clojure-france (6)
- # clojure-nl (4)
- # clojure-uk (8)
- # clojurescript (27)
- # code-reviews (19)
- # core-async (21)
- # cursive (7)
- # datomic (31)
- # defnpodcast (1)
- # duct (6)
- # emacs (3)
- # events (1)
- # helix (2)
- # honeysql (24)
- # jackdaw (2)
- # jobs (2)
- # jobs-discuss (13)
- # juxt (1)
- # lsp (21)
- # re-frame (44)
- # remote-jobs (2)
- # rewrite-clj (3)
- # shadow-cljs (13)
- # vim (1)
I'm helping someone remotely debug an issue, she's using VS Code / Calva on windows, and when jacking in we get the message "nREPL server started on port <port> on host kubernetes.docker.internal - <nrepl://kubernetes.docker.internal>". We're using docker desktop to run some supporting services (postgres, redis), but somehow it seems it's also running the app itself inside docker? That's definitely not the intention...
can this be vs code or calva that decides to run the
java -jar ".calva/deps.clj.jar" ... in a container?
hmmm seems it's a red herring, some checks in the REPL seem to suggest it is running on the local machine. I guess
kubernetes.docker.internal is just an alias for the local host?
Maybe it is something for the #nrepl channel? I think it is the nrepl server printing that message.
I don't think they can do much about it either, I guess it's just checking for the hostname of the machine it's running on, and that is what it finds.
Yeah. I tried to figure out how to get the localhost address of my machine, but I get my network address…
(.. java.net.InetAddress getLocalHost #_ getHostName)
I can see that Docker on Windows has updated my hosts file and put kubernetes.docker.internal in there.
Hey all I am messing around with Calva and coming from IntelliJ, I am trying to disable the
unused-public-var check from clojure-lsp. I have a
config.edn in the
.lsp folder that was created in my project
This is on Windows with the latest versions of everything as of this weekend if that matters
(Also, just to improve the feature, would you mind tell what you dislike in that feature?)
It’s just the docs are a little obtuse to reach and understand in conjunction with Calva
the reason I want to disable the checks is because its handlers for AWS lambdas and compatibility with NodeJS requires for Intellij
https://clojure-lsp.github.io/clojure-lsp/settings/#unused-public-var. What is the output of
clojure-lsp --version ?
Gonna be a minute, having service done that had internet to that machine knocked out, should be good in about an hour
Looks updated as well, could you provide a repo with a minimal repro of the issue so I can test it?