Calva should not suggest projects in a .devenv/
directory when starting a project REPL and connecting (jack-in)
#2642
Labels
.devenv/
directory when starting a project REPL and connecting (jack-in)
#2642
I use a combination of devenv,
deps.edn
andbb.edn
to create and manage a reproducible developer environment. I declare my system dependencies (e.g. OpenJDK, VS Code) in adevenv.nix
file, my Clojure dependencies in adeps.edn
file and my Babashka dependencies (e.g. pods) in abb.edn
file. Calva works great with this setup.The only (very) minor inconvenience is that when I start the project REPL and connect (jack-in), Calva suggests a few projects that are not mine. The
.devenv/
directory contains state and variables created and managed by devenv, and should not be tracked by version control (in fact it's usually added to.gitignore
).In a Clojure project,
.devenv/state/
or.devenv/profile
might containdeps.edn
orproject.clj
files that are not related to my project, but to my dependencies. It's best shown with a screenshot.Here my project (i.e the only project I would like Calva REPL to connect to) is
pod-jackdbd-jsoup
. The other two entries shown in the dropdown menu aredeps.edn
-based projects that should not be suggested up by Calva.The text was updated successfully, but these errors were encountered: