Is there an intention to narrow down the scope of a variable?
I am going through code that has a bunch of local variable
declarations at the top of methods and uses some of these
variables deeply nested blocks (yeah, not too pretty :( )
It would be very convenient to have an intention or inspection/quickfix
to help bring the variable declaration down to reduce its scope
to the minimum. Even something like "bring declaration to first
assignment" would be helpful even if incorrect in most cases.