Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT3 C++ Indexer
CDT3 C++ Indexer [message #143274] Thu, 14 April 2005 06:05 Go to next message
Eclipse UserFriend
Originally posted by: danilo.reinhardt.de.bosch.com

Hello,

i have a C++ which uses an arm compiler/linker (no gnu c++) and i use a
custom makefile to build my project. Now i want to use eclipse cdt for
developing.

I have made "Standard C++ Make Project" which uses my makefile, this part
works greatly. But i want C++ Indexing. Ive tried both ctags (with
external ctags installed and added to PATH), the Internal C++ Indexer and
the AST/DOM Indexer.

My Problem is, they take some time to index, but i did not get any code
completion if i use something like "this->". Code Completion is on...

Do i have to do something to make code completion happen, is there any log
to review the indexer actions?

I cant say if ctags is executed succesfully, because it takes only little
time to build the index, but i get no log or ctags file (is there any?).

Whats the magic behind the ast/dom indexer, is it usefull at the moment?

Sorry if some question are answered before, i did not found anything
usefull in the archive.

Bye and Thanks in advance.
Danilo
Re: CDT3 C++ Indexer [message #143559 is a reply to message #143274] Tue, 19 April 2005 11:03 Go to previous message
Eclipse UserFriend
See comments below...
Bogdan

"Danilo Reinhardt" <danilo.reinhardt@de.bosch.com> wrote in message
news:7deb30adab1bbb3ba76eac36aec0d111$1@www.eclipse.org...
> Hello,
>
> i have a C++ which uses an arm compiler/linker (no gnu c++) and i use a
> custom makefile to build my project. Now i want to use eclipse cdt for
> developing.
>
> I have made "Standard C++ Make Project" which uses my makefile, this part
> works greatly. But i want C++ Indexing. Ive tried both ctags (with
> external ctags installed and added to PATH), the Internal C++ Indexer and
> the AST/DOM Indexer.
>

Which CTags version did you use? You need Exuberant CTags (version 5.5.4
recommended).

> My Problem is, they take some time to index, but i did not get any code
> completion if i use something like "this->". Code Completion is on...
>

Depending on the size of your codebase, indexing with Original/DOM could
take a while - CTags
is the quickest option of the three, but it only gives you
declarations/definitions (no references -> which
means no search for references). Code Completion should work regardless of
indexer settings (doesn't
currently use the indexer.) C Code completion requires the use of the old
parser (Preferences->C/C++ Settings).

> Do i have to do something to make code completion happen, is there any log
> to review the indexer actions?
>
Not unless you have a C project, code completion should just work. If it
doesn't send in a bug with your code example.

cant say if ctags is executed succesfully, because it takes only little
> time to build the index, but i get no log or ctags file (is there any?).
>

If you go to the .metadata folder in your workspace and click on the
org.eclipse.cdt.core folder, you'll see a tempsctag file
(if you're running with the CTags indexer) and a bunch of .index files (one
..index file for each project.)

> Whats the magic behind the ast/dom indexer, is it usefull at the moment?
>

The Dom Indexer just makes use of the new parser which is more correct in
general than the old parser. The DOM Indexer
still has a way to go in terms of performance - take another look in M7. ;)

me question are answered before, i did not found anything
> usefull in the archive.
>
> Bye and Thanks in advance.
> Danilo
>
>
>
Previous Topic:Eclipse 3.1M6/CDT I200504120301 indexer problem
Next Topic:Converting managed project to standard project
Goto Forum:
  


Current Time: Sat May 10 07:02:54 EDT 2025

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

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

Back to the top