[Distel-hackers] who_calls rewrite
Status: Beta
Brought to you by:
lukeg
From: Matthias R. <mat...@so...> - 2007-09-02 16:12:14
|
Hi, I found distel's "who calls" (C-c C-d w) feature rather cumbersome to use. It takes ages to start the first time and then doesn't update when the code changes. Plus the code for it is quite horrible and brittle. So I replaced all ~250 lines of it with a single call to xref:q/2. See the attached patch. Invoking "who calls" for the first time still takes a while, but less than previously. And code changes are tracked properly. Regards, Matthias PS: xref could also replace some of the other code in distel.erl, such as the module/function completion support. |