Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Configuring CTags for CDT
Configuring CTags for CDT [message #166557] Fri, 24 March 2006 18:28 Go to next message
Stan Mitchell is currently offline Stan MitchellFriend
Messages: 11
Registered: July 2009
Junior Member
Hi all,

My environment is Eclipse 3.1.2 with CDT 3.0.2 on Windows XP SP2.

Using the Full C/C++ Indexer on large projects, is painfully slow.
As an alternative, I'm setting up CTags as the Indexer and have some
questions about the available options.

The options are reached from Project->Properties->C/C++ Indexer.
From the property page select CTags Indexer from Available indexers.
Several additional options are then displayed on the page: CTags Location,
Include Files, and CTags File.

I've tried setting "Use internal CTags file" after specifying a path to the
CTags executable. But I don't see
the tags file being generated. Does this work with Standard C/C++ Projects?
Should the tags file be
regenerated each time a Make Target is built?

If a tags file is imported using the "Import existing CTags file", will it
get reloaded when it is rebuilt?
It would seem that regenerating the tags file as part of the build is the
best approach.

Thanks for any suggestions.
Regards
Re: Configuring CTags for CDT [message #166678 is a reply to message #166557] Tue, 28 March 2006 17:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexfarberov.[nospam]hotmail.com

The tags file should be in workspace/.metadata/.plugins/org.eclipse.cdt.core

check if it's there..


Stan Mitchell wrote:
> Hi all,
>
> My environment is Eclipse 3.1.2 with CDT 3.0.2 on Windows XP SP2.
>
> Using the Full C/C++ Indexer on large projects, is painfully slow.
> As an alternative, I'm setting up CTags as the Indexer and have some
> questions about the available options.
>
> The options are reached from Project->Properties->C/C++ Indexer.
> From the property page select CTags Indexer from Available indexers.
> Several additional options are then displayed on the page: CTags Location,
> Include Files, and CTags File.
>
> I've tried setting "Use internal CTags file" after specifying a path to the
> CTags executable. But I don't see
> the tags file being generated. Does this work with Standard C/C++ Projects?
> Should the tags file be
> regenerated each time a Make Target is built?
>
> If a tags file is imported using the "Import existing CTags file", will it
> get reloaded when it is rebuilt?
> It would seem that regenerating the tags file as part of the build is the
> best approach.
>
> Thanks for any suggestions.
> Regards
>
>
Re: Configuring CTags for CDT [message #166703 is a reply to message #166678] Wed, 29 March 2006 05:51 Go to previous messageGo to next message
Stan Mitchell is currently offline Stan MitchellFriend
Messages: 11
Registered: July 2009
Junior Member
Yes, I found it there. The C++ Indexer also generates an xxxxx.index file
that maps to the tags file. Adding the additional index file really slows
the response time on searches for declarations or definitions. In my case,
using CTags doesn't help much.

"Alex Farberov" <alexfarberov@[nospam]hotmail.com> wrote in message
news:e0btan$3uu$1@utils.eclipse.org...
> The tags file should be in
> workspace/.metadata/.plugins/org.eclipse.cdt.core
>
> check if it's there..
Re: Configuring CTags for CDT [message #166869 is a reply to message #166703] Thu, 30 March 2006 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

imo, but i may be wrong, the ctags-file grows incrementally.
so maybe you should use an external ctags-file precreated for your
includes et al.
Re: Configuring CTags for CDT [message #167018 is a reply to message #166869] Thu, 30 March 2006 18:41 Go to previous message
Stan Mitchell is currently offline Stan MitchellFriend
Messages: 11
Registered: July 2009
Junior Member
I'll give that a try but I think the tags file gets built quickly and then
the index file is gradually constructed.

"arne anka" <arne.anka@ginguppin.de> wrote in message
news:op.s672dquyuyrgnr@localhost.localdomain...
> imo, but i may be wrong, the ctags-file grows incrementally.
> so maybe you should use an external ctags-file precreated for your
> includes et al.
Previous Topic:Using CDT with shared VS6 project
Next Topic:it takes 2-3secs to close an editor tab
Goto Forum:
  


Current Time: Sun Dec 21 08:33:04 GMT 2014

Powered by FUDForum. Page generated in 0.08118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software