[Cuis-dev] [ChangeSet] source code intervals + changes on refactorings

Hernan Wilkinson hernan.wilkinson at 10pines.com
Thu May 21 15:43:26 PDT 2020


Integrated!

Hernan.

On Sun, May 10, 2020 at 3:24 PM Nahuel Garbezza via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi!
>
> I'm attaching a changeset (+ tests changeset) with the following:
>
> Main changes:
>
> Introduce the SourceCodeInterval class as a specialization of Interval,
> capable of dealing with source code transformations. Start to use
> SourceCodeInterval in the source ranges reported by the Parser, and on the
> intervals created on refactorings. This helped us to reduce utility methods
> related to source code on the Refactoring and ParseNode classes.
>
> Changes on refactorings:
>
> * [extract temporary] allow extracting entire statements without
> introducing an unnecessary extra statement
> * [extract temporary] do not allow the user to extract on a smalltalk
> editor that does not contain a method
> * [extract temporary] change the #apply message to return the updated
> source code
> * [extract method] allow extracting expressions with multiple levels of
> parentheses and spaces between them
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

*Hernán WilkinsonAgile 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200521/85b55878/attachment.htm>


More information about the Cuis-dev mailing list