pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Deprecation from UI could directly add the automatic transformation code

Open badetitou opened this issue 1 year ago • 2 comments

When deprecating a method using the UI of Calypso, we would improve the generated template to automatically add the transfomationWith rule.

image

Maybe we do not want to do that because sometimes we want to change the receiver or the order of the arguments. However, it would help to discover the transformationWith feature.

badetitou avatar Oct 11 '24 14:10 badetitou

keep in mind that not every deprecation means that there is a replacement method.

e.g. there was once a version of deprecation that asked immediately for a new name. But that then was unusable when you just wanted to deprecate a method.

So this should be optional.

MarcusDenker avatar Oct 11 '24 14:10 MarcusDenker

Indeed benoit! Do not hesitate to send a PR. The comment can mention what marcus is saying but always having to look for an example is boring. S

Ducasse avatar Oct 12 '24 09:10 Ducasse