There is no such option in the IDE and I'm not aware of any IDE plug-in that does it.
I use a naming convention (a prefix) to distinguish between various variable scopes:
G for Global
F for Field (variable in a class)
A for Argument
Nothing for local variable
There are numerous other way to do it. Each developer has his own rules.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…