Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] Patch proposal for Bug 43174

> 
> +1, this will address major issues we have had with code complete on large 
> projects.  I'd like to see someone from QNX vote on this before we 
> proceed.  It does change the behavior of code assist from what existed 
> last release.
> 
> Thanks,
> Doug Schaefer, Senior Software Developer
> IBM Rational Software, Ottawa, Ontario, Canada
> 
> 
> 
> John Camelon/Ottawa/IBM@IBMCA 
> Sent by: cdt-patch-admin@xxxxxxxxxxx
> 10/08/2003 09:27 AM
> Please respond to
> cdt-patch@xxxxxxxxxxx
> 
> 
> To
> cdt-patch@xxxxxxxxxxx
> cc
> 
> Subject
> Re: [cdt-patch] Patch proposal for Bug 43174
> 
> 
> 
> 
> 
> 
> +1 to have this applied to both HEAD & cdt_1_2 streams. 
> Once we have consensus on whether or not it goes in we can do the next RC 
> build, so committers please let us know if we have any vetoes. 
> 

+1, with some comments.

(1)
If the file search scope includes the inclusion ("#include ...") 
part of the search, got no problem.
True for C it is not a requirement for visibility, in the IDE
case making an explicit declaration should be a requirement for
Code Assist to work properly.

(2)
I do understand that the first time, you do content assit
you will have a hit, but do not we have cache indexed file
to speed things up ?

(3)
The old indexer(CTags) parse the entire project once
in a database, and all globals would be indexed so
next time around even for a big project, it would not
take more then a few seconds.


> JohnC
> 
> cdt-patch-admin@xxxxxxxxxxx wrote on 10/08/2003 05:54:36 AM:
> 
> > 
> > What's the problem? 
> > 
> > In its current state, code assist takes a long time to pop up 
> > completions and they aren't always correct. 
> > 
> > Why? 
> > 
> > Code assist  currently uses a project scope when performing a 
> > search. Thus all files in a project are searched - which 
> > contributes to the long pop up time (especially in large projects) 
> > and the inaccurate results (as a file rarely includes all 
> > the other files in the same project). 
> > 
> > What's in this patch? 
> > 
> > This patch changes the search scope for code assist from a project 
> > scope to a file scope. This improves both performance and 
> > accuracy of the matches. 
> > 
> > Automation Suite run on both Windows + Linux. 
> > 
> > Thanks, 
> > Bogdan 
> > [attachment "cdt-core-patch.txt" deleted by John Camelon/Ottawa/IBM]
> > [attachment "cdt-ui-patch.txt" deleted by John Camelon/Ottawa/IBM] 
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch
> 
> 
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch
> 


-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!



Back to the top