-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
cider-expected-ns returns nil on boot projects #1651
Comments
This bites us every time. I'm guessing we can reuse some of boot-related code for the info middleware. |
Digging into this a bit, it looks like the issue is related to the values returned by |
I've put together a POC here: grzm/cider-nrepl@4fe4a70. If this looks good, I'll submit a PR to cider-nrepl. (Should we continue this discussion under a ticket for cider-nrepl?) |
This happens because the list of strings returned by
(cider-sync-request:classpath)
apparently doesn't include the project directory.This, in turn, happens because boot masks the project under: `~/.boot/cache/tmp/FULL/PATH/ followed by some gibberish.
As a (hopefully) temporary patch, I'll make this function fallback on
clojure-expected-ns
.The text was updated successfully, but these errors were encountered: