d2tags - converts DMD2's JSON output to Exuberant Ctags format

Masahiro Nakagawa repeatedly at gmail.com
Thu May 6 11:34:02 PDT 2010


On Fri, 07 May 2010 01:48:59 +0900, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:

> MIURA Masahiro wrote:
>> Hi,
>>
>> Being happy to see issue 3415 (broken JSON format) fixed,
>> I have written a utility to convert DMD2's JSON output
>> to Exuberent Ctags format.  This enables you to tagjump in Vim
>> and other editors/IDEs.  It's just 150+ lines, thanks to D2's
>> powerful string handling.  Enjoy!
>>
>> http://github.com/Dubhead/d2tags
>>
>> usage:
>> % dmd -Xftags.json foo.d
>> % d2tags tags.json > tags
>
> Very useful, and a beautiful example of D scripting.
>
> I wonder if this is of enough general utility to warrant inclusion
> within the D distribution, along with rdmd. Thoughts?

vote++


More information about the Digitalmars-d-announce mailing list