-
Notifications
You must be signed in to change notification settings - Fork 27
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
Pressing "g" cannot locate source file. #31
Comments
Sayid doesn't know how to find a file if none of the files in the project path have been eval'd yet. I'm guessing that's what's going on here. It's a fundamental issue that I'm not sure how to get around. I'm also guessing that this command mostly worked for you -- in that it probably If the function source can't be found, falling back to A PR to address any of the above would be great. If you submit one, I'll review as quickly as I can. thanks |
Not sure what is broken, here. When I press in "g" during looking into function's trace it fails at the moment of finding proper file:
Here https://github.com/bpiel/sayid/blob/master/src/el/sayid.el#L777 I've got exception:
File not found: antonov/api/availability.clj
I tried to trace it in emacs
(sayid-find-existing-file file) =>
("clojure" "/private/var/folders/ty/q1nfz8qn24x_8p27fx7z14yr0000gp/T" "cider" "mranderson047")`Looks wrong because project root is not existing here. Please help me trace and fix this exception.
p.s. Sayid probably can go thru existing opened file-buffers, and if filepath will match file requested - write expression there. Or even better solution open
cider-scratch
and writedown form there.If you're fine with using
cider-scratch
I can implement it. thanks!The text was updated successfully, but these errors were encountered: