www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Gtags and D. How(to)?

reply Denis Golovan <denisgolovan yandex.ru> writes:
Hi, all

I'd like to ask - if there is a way to make gtags (ctags or whatever) to work
with D1, D2? Just to make Emacs work.
- Google gives links to Tango makefiles, but haven't managed to find and
understand command-params ($GTAGS_ARGS). 
- Official global (GTAGS) homepage doesn't offer D support either. So maybe
some patches must be applied?

Thanks.
Jul 31 2008
parent Jesse Phillips <jessekphillips gmail.com> writes:
On Thu, 31 Jul 2008 03:45:56 -0400, Denis Golovan wrote:

 Hi, all
 
 I'd like to ask - if there is a way to make gtags (ctags or whatever) to
 work with D1, D2? Just to make Emacs work. - Google gives links to Tango
 makefiles, but haven't managed to find and understand command-params
 ($GTAGS_ARGS). - Official global (GTAGS) homepage doesn't offer D
 support either. So maybe some patches must be applied?
 
 Thanks.
I haven't used ctags, so I don't know if the works or if there is a better way, but you can pass a --language-force=c and that should be pretty close to usable (for exuberant-ctags at least).
Jul 31 2008