-
-
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-eval-defun-at-point doesn't set file and line metadata #631
Comments
All interactive evaluations suffer from this. Not sure what we can do about this without an alternative |
I've opened an issue regarding this upstream http://dev.clojure.org/jira/browse/NREPL-59 //cc @cemerick Let's see how the discussion will go. I'm not thrilled by the prospect of overriding the default eval, but it might come to this in the end. |
Interactively evaluated var definitions lack metadata, so we can't easily navigate to them. To workaround this we look for definitions in open Clojure buffers.
I've implemented a simple workaround for the time being - if we cannot find a definition via |
A small present for the awesome @cemerick :-)
When compiling a function in
.clj
buffer withcider-eval-defun-at-point
, the file and line do not get set in the resulting code. This makes it impossible to jump to the location of the function.The text was updated successfully, but these errors were encountered: