Code completion in KDEStudio

Ivan Hawkes linuxgroupie at ivanhawkes.com
Tue Apr 10 22:27:23 UTC 2001


On Sunday 08 April 2001 11:33 pm, you wrote:
> Hey guys,
>   I haven't looked into the studio source for a long time (like a
> year+), but here's how it used to work (hope you haven't heard this one
> already).
>   If the user has typed like "someVar->", Studio (secretly) inserts some
> text like FAKESTUDIOMETH after the "->", so it becomes
> "someVar->FAKESTUDIOMETH" (but the user doesn't see that).  It then
> dumps the modified code to a temp file and tries to compile it with
> g++. 
etc

THAT IS SOOOO CRAP!

How can the person who wrote that call themselves a programmer? What's wrong 
with using a Dictionary object to store a parse of the file contents? You 
would have to update it with every edit, but at least you're not firing off a 
compiler every time ;-)

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list