Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Hacking on Content Assist


Hello

Speed - Each Content Assist does a parse of the file (including header files).  Since the current parser architecture does not support an incremental parse, and AST's are not reusable after the parse, the performance of content assist is tied to the # of files included.  

Correctness - The parser has a few bugs in it.  Also, if the project is not set up properly (w/include paths, discovered macros, etc.) the parser does the best it can but sometimes cannot come up with much.  Also, language variants other than GNU can cause problems for the parser.  

Hope this helps
JohnC
www.eclipse.org/cdt


cdt-dev-admin@xxxxxxxxxxx wrote on 11/12/2004 05:20:16 PM:

> Hi all,
>
> I would like to look at the Content Assist code and possibly
> understand why it works the way it does (indexing is slow; does not
> find completions). Any suggestions on how I could get started would be
> most welcome.
>
> Thanks,
> Ashwin
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top