[Cuis-dev] [Integrated] Re: Autocomplete support for previous binary message send

Juan Vuletich juan at jvuletich.org
Mon Oct 28 12:58:27 PDT 2019


On 10/28/2019 1:35 AM, Hernan Wilkinson via Cuis-dev wrote:
> Hi,
>  currently the autocomplete does not handle correctly collaborations 
> like this one:
>  1 = 3 if <--- only ifNil: and the like are shown as valid, while 
> ifTrue: will be shown in blue (possible invalid).
>
>  The reason is that it does not handle correctly the fact that you 
> could send unary and binary messages to 3 or keyword messages to the 
> return type of #= when sent to 1 (that is, Boolean).
>  Another example is:
> 'a', Utilities change <-- changeStamp will not be shown as valid.
>
>  The attached .cs files fixed that problem.
>  Sadly, without LiveTyping the fix will not be notice but in some 
> cases like the previous example. With LiveTyping the shown messages 
> will be the unary and binary for the las receiver and the keyword 
> messages of the return type of the previous binary message. So, in the 
> first example, #ifTrue: and the like will be shown as valid.
>

We need to find the way to make LiveTyping part of the base Cuis image!

>  Cheers!
>  Hernan
>
>
> -- 
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20191028/30dc44fd/attachment-0001.htm>


More information about the Cuis-dev mailing list