improvement: delete unused variables delete local variables too

hi

consider having the feature / option: edit>>delete unused variables delete unused local variables too
it currently only deletes global variables

thanks