Exuberant Ctags Support for D

Nick Treleaven nickdottreleaven+dmd at btinternet.com
Wed Apr 11 05:23:06 PDT 2007


On Wed, 11 Apr 2007 06:26:03 +0000, Jesse Phillips wrote:

> On Mon, 09 Apr 2007 20:31:13 -0400, Jussi Jumppanen wrote:
> 
>> I have taken the D Language ctags patch found here:
>> 
>>   http://www.prowiki.org/wiki4d/wiki.cgi?ReferenceForTools/ExuberantCtags
>> 
>> and applied the patch to the current ctags source files.
>> 
>> The resulting patched source files and Windows executable can be found here:
>> 
>>   http://www.zeusedit.com/forum/viewtopic.php?t=613
>> 
>> This patch add ctags support for D class member data an methods. 
>> 
>> Jussi Jumppanen
> 
> I'd like to know how to apply the patch file in Linux.

Get ctags-5.6 source, unarchive it.

[nmt at nmt-pc build]$ cd ctags-5.6/
[nmt at nmt-pc ctags-5.6]$ patch -p6 < ~/svn/ctags-5.6-d.patch
patching file c.c
patching file parsers.h
[nmt at nmt-pc ctags-5.6]$

the -p6 is because you want to prune all this from the
paths: /m/home/rubikitch/compile/tmp/ctags-5.6/

the ~/svn/ bit is where I downloaded the patch file.

Then just run 'make'. And hopefully that'll build a D-capable ctags ;-)

HTH,
Nick



More information about the Digitalmars-d mailing list