[Pharo-project] refactor instance variables
refactor instance variables | accessors used to figure out which instance variables needed to be added and give you a chance to accept or reject the proposed list. After loading the latest updates, it now presents a list of instance variables, letting you pick one and only one to add. The new behavior is very awkward when you've just added several iVars to a class. The old behavior was too "all or nothing". I'd love to see one that presented all of the proposed accessors and let you accept them all or reject selective accessors. -david
On Thu, Dec 4, 2008 at 1:29 AM, David Pennell <pennell.david@gmail.com> wrote:
The new behavior is very awkward when you've just added several iVars to a class. The old behavior was too "all or nothing". I'd love to see one that presented all of the proposed accessors and let you accept them all or reject selective accessors.
I assume you are talking about OB-Refactory. See "refactor class | accessor". In the changes summary you can then remove some accessors, if you don't want all to be created. Btw, if you select a variable in the code or in the variable browser you don't have to select a name. Lukas -- Lukas Renggli http://www.lukas-renggli.ch
participants (2)
-
David Pennell -
Lukas Renggli