more code completion fun!

August Hörandl august.hoerandl at gmx.at
Wed Mar 14 22:31:17 GMT 2001


christopher j bottaro wrote:
> 
> it only gets complicated with a function call that takes doesn't take an
> identifier as an argument:
> easy:  func1(foo, bar)->
> hard:  func2(3==(3+1), 7+bar)->

but these are also rare - and only a few are overloaded; taking the
first "near" hit with the right number of arguments will be right most 
of the time or just give no completion - maybe no one will ever realize
it ;-)

just checked the kdevelop code - there seems no such case in this
not so small example
try
find . -name "*.cpp" -o -name "*.h" | xargs grep ")->" | grep -v "()->"
in the kdevelop directory

but there are a lot of type casts - dont forget them. example
((CClassTreeHandler *)classTree.treeH)->

just my 2cents
Gustl

-- 
August Hörandl                         august.hoerandl at gmx.at
Computers are like airconditioners -
they stop working properly if you open WINDOWS

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



More information about the KDevelop mailing list