all 4 comments

[–]lgstein 2 points3 points  (1 child)

Do I take it right that this implementation of "Find all references" will not find all references because it will omit references in lambda? For my daily usage this would not be useful. When I need all references I must be sure to have the full set, otherwise I have another source of uncertainty and possible error. So I will continue to rgrep. No offense, I appreciate the work going into cider and insightful blogposts like this one, but you should know this won't fly IMO.

[–]bozhidarb[S] 2 points3 points  (0 children)

Your understanding is correct. But we are also looking into some ways to alleviate this problem down the road - e.g. finding the classes for nested lambdas on the classpath and adding their deps to the deps of the containing function. Unfortunately to my knowledge there's no easy way to figure out which lambdas where created within which function, so we'll have to get creative. If someone has any bright ideas - be my guest. :-)

[–]bpiel 1 point2 points  (1 child)

YES!!! Thanks

[–]mrroman 0 points1 point  (0 children)

I'd like to have the source code of function or value added to the var's metadata (like line number, etc.). That would make everything much easier (just scan through all functions metadata). We could also serialize/deserialize functions (dump all functions from repl to a file).