Author Topic: Eclipse CDT C/C++ Indexer project.  (Read 22356 times)

Offline Raindog

  • Multiple posting newcomer
  • *
  • Posts: 17
Eclipse CDT C/C++ Indexer project.
« on: November 03, 2006, 10:26:00 pm »
Have you guys noticed the changes to that? It looks like it would be really powerful and worthwhile converting to work with CB

http://wiki.eclipse.org/index.php/CDT/designs/PDOM/Lifecycle

Offline eranif

  • Regular
  • ***
  • Posts: 256
Re: Eclipse CDT C/C++ Indexer project.
« Reply #1 on: November 03, 2006, 10:41:52 pm »
Your link make me browse their wiki, and it seems like that eclipse is using the same approach as I suggested ctags (with a little tweaks) + database.

have a look here:
http://wiki.eclipse.org/index.php/CDT/designs/PDOM/History
-Eran


Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Eclipse CDT C/C++ Indexer project.
« Reply #2 on: November 04, 2006, 02:56:38 am »
That's good because the last time I used CDT code completion is was super slow, basically unusable.

Offline Raindog

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Eclipse CDT C/C++ Indexer project.
« Reply #3 on: November 06, 2006, 07:48:09 pm »
It looks like they at one time used CTAGS but stopped using it because it had the same limitations as mentioned in this forum.

takeshimiya

  • Guest
Re: Eclipse CDT C/C++ Indexer project.
« Reply #4 on: November 06, 2006, 09:20:05 pm »
It looks like they at one time used CTAGS but stopped using it because it had the same limitations as mentioned in this forum.
And if you keep reading, they started to use it again ;)

Offline Raindog

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Eclipse CDT C/C++ Indexer project.
« Reply #5 on: November 06, 2006, 10:25:17 pm »
They later said that they needed a new indexer strategy. Also, based on some video they produced, it lead me to believe that they have a complete code completion strategy that is not befuddled by macros.

Offline eranif

  • Regular
  • ***
  • Posts: 256
Re: Eclipse CDT C/C++ Indexer project.
« Reply #6 on: November 06, 2006, 11:14:16 pm »
eclipse still uses ctags

the new strategy is to implement indexers as plugins , which will allow users to choose different indexer for different projects.

There are pros and cons for ctags, macros are one of them, but can be handled, event microsoft intellisense is not prefect and doing some basic mistakes (he cant parse wxWidgets properly as well)

in overall, i think there are more pros then cons, but hey thats me

Eran

takeshimiya

  • Guest
Re: Eclipse CDT C/C++ Indexer project.
« Reply #7 on: November 06, 2006, 11:27:02 pm »
ctags is unbeatable in performance respects, it's a good overall parser and yes it haves some limitations, but I'm optimistic and I think those can be handled perfectly with the flex bits;

additionally, if that's not enough we can always plug in ucpp or boost wave for macro pre-processing