Hey, how long has that been there?
I just noticed that if you do "Introduce Field" on the initializer of a local variable, IDEA will offer to remove the local variable declaration for you, and replace all of the accesses with field accesses. Sweet, and exactly what I wanted. Does anyone have any idea when this was introduced? I just checked, and it is in 5.1, so it's not like I just stumbled over unannounced Demetra functionality (my initial asssumption).
I'm gonna be pretty embarassed if things have worked this way since Ariadna...
--Dave Griffith
Please sign in to leave a comment.
No embarassment intended, and not sure of Ariadna, but in Aurora that worked.