Johannes Waldmann <[email protected]> writes:

>> My understanding of tab-completion in IDEs for Java, etc. is that it
>> just displayed every single possible class method for a particular
>> object value, and then did some kind of matching based upon what you
>> typed to narrow down the list, not that it was type-based.
>
> With Eclipse, try something like (within some method)
>   String s = "foo";  s.   (stop after the dot)
> and you see only methods of String (and Object).
> To me, that seems very much "type-based".

Well, yes, it is every single possible class method for a String object.
However, if you tried to do "s.equalsIgnoreCase(", does it offer to
insert every single String available and every function that could
result in a String?

-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to