put your mouse over the code. Variables in scope will be highlighted shadowed variables will have red border if the mouse is over a variable, the corresponding declaration will have black border