Login  Register

remove unused variables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

remove unused variables

Peter Uhnak
2019 posts
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
| More
Print post
Permalink

Re: remove unused variables

jfabry
963 posts

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