Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixup file name and line numbers when evalulating a form #329
When I eval a chunk of code using the "Calva: evaluate current top level form..." commands, the file name is auto-generated as
This leads to confusing data in a stack trace. Let's say I eval a chunk of code in a file named
If instead, I evaluate the entire file, and then run the test, the output changes to:
I can click on the string
When Calva evaluates a form, it should specify the filename, column and initial line number when calling nrepl:
This will make everything line up much better.
Thanks. Looking at this a bit. I am not sure I can fix the actual case you mention with re-rerunning tests (haven't even looked at that yet, so it could be it is entirely fixable), but for regular evaluations it certainly works providing that info.
Will look at it a bit more and see what I can do.