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? One small suggestion, Masahiro: you may want to replace the file reading loop in main() with simply std.file.readText(args[1]). Andrei