The editor is no longer highlighting unused variables

Hi, I refactored my code and I’m doing a clean up. In the current editor version unused variables are not being highlighted. I think they were highlighted before. Like when you have an unused local function.