This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-08-01
Channels
- # announcements (4)
- # babashka (12)
- # calva (8)
- # clj-kondo (40)
- # clojure (39)
- # clojure-europe (23)
- # clojure-losangeles (1)
- # clojure-nl (1)
- # clojure-norway (52)
- # clojure-uk (3)
- # community-development (6)
- # cursive (1)
- # datomic (14)
- # devops (1)
- # gratitude (21)
- # humbleui (7)
- # hyperfiddle (7)
- # introduce-yourself (2)
- # java (5)
- # portland-or (4)
- # shadow-cljs (69)
- # tools-deps (4)
- # xtdb (6)
When you right click on a function and try to click Go to Definition
is it the clojure-lsp
tool handling that request? I still have a problem where if I connect to a NREPL (my app runs in a docker container exposing a repl) , anytime I click Go to definition
it prefixes the file path with app/src/mynamespace/myfile.clj
when its just src/mynamespace/myfile.clj
and it can never find and open it. This did not used to happen before but it started about a year ago at this point, it has not been that bothersome since I can search for the file and open it but its wearing me down now lol. Any thoughts on what could be going on here?
The app
almost looks like a root directory on my system
My repl connect command looks like this (I started using a custom one a little bit ago, same problem)
clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version \"1.0.0\"}}}' -M:dev:test -m nrepl.cmdline --connect --host 127.0.0.1 --port 31401
The dev
alias just has extra-paths
and extra-deps
The test
alias has extra-paths
and extra-deps
then a test runner commandIf I connect using deps.edn
and a nrepl-port file it does the same thing
The only other relevant thing might be my maven is set to use a local file :mvn/local-repo "local-m2"
in the clojure project workspace/root
I actually did not know Calva had that option either!