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

Lutger lutger.blijdestijn at gmail.com
Thu May 6 11:30:43 PDT 2010


Andrei Alexandrescu 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?

Yes it's very useful. How about also including the source in the examples 
directory?


More information about the Digitalmars-d-announce mailing list