I have some code (that I did not write) that has many unused local variables in Modules. I would like to clean this up. Is there any automated way to do this or to make it more clear that a local variable is unused (it would be great if it could be highlighted in a different color for example)?
I am using the standard notebook environment. Is it possible within that? Or should I be using something else like Workbench for this?

Evaluation>Analyze CellorAnalyze Notebook. – Ben Izd Jun 10 '21 at 16:57