Script analysis - Highlight unused variables

They should be highlighted the same way nonexistant variables are highlighted.

[code]local a = 1
local b = 2

return a[/code]

“b” should have a blue squiggle.

1 Like

personally, I love this new feature, and I usually like plain IDEs, I agree with this assessment, lets have more stuff to encourage good coding practices :smiley: I recently had to clean up 2kloc, and it went like a breeze, I was done in 30 minutes due to this new feature, it’s basically like a accidental global initialization finder <3