Calva should not suggest projects in a `.devenv/` directory when starting a project REPL and connecting (jack-in)
I use a combination of devenv, deps.edn and bb.edn to create and manage a reproducible developer environment. I declare my system dependencies (e.g. OpenJDK, VS Code) in a devenv.nix file, my Clojure dependencies in a deps.edn file and my Babashka dependencies (e.g. pods) in a bb.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 contain deps.edn or project.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 are deps.edn-based projects that should not be suggested up by Calva.
Hi! Thanks for the report. I see you have issued a PR fixing the default excludes, which is awesome. I'll merge that!
For anyone finding this issue, it's good to keep in mind that you don't need to be content with the defaults. The setting in question is calva.projectRootsSearchExclude, and it can be updated from the Settings UI: