Not declared in scope, I have no idea why this isn't working

Until the IDE editor was "improved" some time ago then clicking on an opening or closing brace or bracket would highlight the code enclosed by the pair of braces or brackets. What a shame that this was removed