Unused Variables

Does anyone know if there is a way to track if variables are unused?

Basically, as i develop my app I create variables as I need them - but when I evolve the way that I do something on a page sometimes I no longer need a variable - but because i’m not that organised - i don’t delete it at the time. What that means is that my app contains several ‘legacy’ variables that are no longer in use. Is there any way in composer of seeing which variables are used in logic and which are not used?

1 Like


Unofrtunately no there’s no build in way for that at the moment :confused: but that would be a great addition, you can submit a feature request for it here :slight_smile: