dmdtags 1.0.0: an accurate tag generator for D source code

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Sep 1 04:22:23 UTC 2021


On Fri, Aug 27, 2021 at 09:38:58PM +0000, Paul Backus via Digitalmars-d-announce wrote:
> `dmdtags` is a tags file generator for D source code that uses the DMD
> compiler frontend for accurate parsing.
> 
> This release supports 100%-accurate parsing of arbitrary D code
> (tested on DMD and Phobos sources), as well as the most commonly-used
> command line options, `-R`, `-o`, and `-a`. The generated tags file
> has been tested for compatibility with Vim and is compliant with the
> [POSIX standard for `ctags`][posix], so any editor with `ctags`
> support should be able to use it.

This is AWESOME!!!  Thanks a ton for this... I'll definitely be using
this in the near future!


[...]
> [`universal-ctags`][uctags], the current most-popular and
> best-maintained tags file generator, claims support for many
> programming languages, including D. However, its D parser is not
> well-maintained, and it often excludes large numbers of symbols from
> its output due to parsing failures.
> 
> Because `dmdtags` uses the DMD frontend for parsing, its results will
> always be accurate and up-to-date. For pure D projects, it can be used
> as a replacement for `universal-ctags`. For mixed-language projects,
> it can be used together with other tag generators with the `--append`
> option.

Is there any hope of merging this back to upstream ctags?

Regardless, this is awesome.


T

-- 
Long, long ago, the ancient Chinese invented a device that lets them see through walls. It was called the "window".


More information about the Digitalmars-d-announce mailing list