help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ctags as a source for gtags


From: Felix Geller
Subject: ctags as a source for gtags
Date: Tue, 21 Jan 2014 18:15:22 +1300

Hi,

I'm trying to use ctags as a source for gtags for scala files, but am not getting any tags in gtags while ctags finds them. For example:

gtags only prints a warning:

gtags -vv -f x/src/main/scala/Message.scala
Tue Jan 21 11:31:41 NZDT 2014] Gtags started.
 Using config file '/usr/local/share/gtags/gtags.conf'.
 Using plug-in parser.
 Using '.x/src/main/scala/Message.scala' as a file list.
[Tue Jan 21 11:31:41 NZDT 2014] Creating 'GTAGS' and 'GRTAGS'.
[... Lots of warnings ...]
Warning: 'trait Message {' not found. ignored.

But ctags is happily identifying the name:

ctags -x x/src/main/scala/Message.scala                   
Message       traits      220 ./x/src/main/scala/Message.scala trait Message {

Looking through the archives I found that missing GTAGSCONF or GTAGSLABEL might be a problem, but they are set:

set | ag GTA 
GTAGSCONF=/usr/local/share/gtags/gtags.conf
GTAGSLABEL=ctags

And there is a ctags label for excuberant tags in my /usr/local/share/gtags/gtags.conf

What might be missing? I would appreciate any help to debug this :)

Thanks!

Felix

reply via email to

[Prev in Thread] Current Thread [Next in Thread]