remove unused variables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

remove unused variables

Peter Uhnak
The editor used to inform when there was an unused local variable and offered to remove it.

Is it possible to get this behavior back, or is it a feature regression with the "new" (this changed some time ago) editor?

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] remove unused variables

jfabry

This was changed somewhere in November by Marcus and Miguel, and it was intentional, as part of the work on annotations on the AST that enabled breakpoints. (Breakpoints use the same highlighting mechanism).

On Apr 21, 2016, at 18:52, Peter Uhnák <[hidden email]> wrote:

The editor used to inform when there was an unused local variable and offered to remove it.

Is it possible to get this behavior back, or is it a feature regression with the "new" (this changed some time ago) editor?

Thanks,
Peter



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] remove unused variables

philippe.back@highoctane.be

Argh.

It is a very cool feature.

Are we going to have to spot around ?

No, please, no...

Phil

On Apr 22, 2016 2:35 AM, "Johan Fabry" <[hidden email]> wrote:
>
>
> This was changed somewhere in November by Marcus and Miguel, and it was intentional, as part of the work on annotations on the AST that enabled breakpoints. (Breakpoints use the same highlighting mechanism).
>
>> On Apr 21, 2016, at 18:52, Peter Uhnák <[hidden email]> wrote:
>>
>> The editor used to inform when there was an unused local variable and offered to remove it.
>>
>> Is it possible to get this behavior back, or is it a feature regression with the "new" (this changed some time ago) editor?
>>
>> Thanks,
>> Peter
>
>
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile
>

Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] remove unused variables

Peter Uhnak

On Apr 22, 2016 2:35 AM, "Johan Fabry" <[hidden email]> wrote:
>
>
> This was changed somewhere in November by Marcus and Miguel, and it was intentional, as part of the work on annotations on the AST that enabled breakpoints. (Breakpoints use the same highlighting mechanism).


I'm not sure I understand your answer.
Was it removed just because some people prefer highlighting, or for some other issue?
I don't see how it relates to AST, does it somehow conflict with the behavior?

Peter