-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect fails when there is no project file (deps.edn
, etc)
#1613
Comments
Hello. Thanks for reporting! We should probably complain at 4 instead of pretending things will work. You need to pick a project root. The same one as was auto-picked before #1609 is now pre-selected in the project root menu, so you should be able to connect by pressing |
I don't know which project root was auto-picked before #1609, but all the project roots surfaced now look to be locations containing a |
I checked the Calva code now, and Can you describe the project and what file you have open when you run the connect command? What is a Bezel thing? Judging from the connect sequence you have, it looks like the workspace root should be the project root. Do you have a deps.edn there? |
Making a minimal repro is beyond my current understanding of what we've built using https://bazel.build. However, adding a |
Thanks for the update, @brettrowberry! I'll reopen the issue because we should probably do something about it. At least document it... |
Possibly related: With 256, I can connect to a Babasha nREPL using the Repro: $ mkdir calva-testing
$ cd calva-testing
$ code . Within VS Code:
With 257, following the exact same steps does not present the "Please select a project type" pop-up. Repro: $ mkdir calva-testing
$ cd calva-testing
$ code . Within VS Code:
After adding a deps.edn containing But a bb.edn containing |
And the winner for best repro description is @CFiggers ! Thanks 🙏 ❤️ (Close call, 😄 ) A first an easy fix is to include We need to do more to fix the problem in general... I need to ponder about exactly what though. 😄 |
deps.edn
, etc)
I have a custom project type in
.vscode/settings.json
:In 2.0.256, I can connect a REPL client.
In 2.0.257, I
Calva: Connect to a running REPL Server
Project root
pickerPlease select a project type
Monorepo REPL
Failed initializing project root directory:
I think this was introduced by #1254.
The text was updated successfully, but these errors were encountered: