I'll agree that it is uncommon, or low priority, but what would you expect to happen if you tried to inline a loop variable? Shouldn't be all that confusing, and there's always undo if it does something you didn't expect.
Roger "Niels Ull Harremo�s" <[EMAIL PROTECTED]> wrote in message af82ui$vc1$[EMAIL PROTECTED]">news:af82ui$vc1$[EMAIL PROTECTED]... > -1 > > I think this refactoring is so uncommon, adding it in will be more > confusiing than helpful. > > "Roger Dubbs" <[EMAIL PROTECTED]> wrote in message > af7fj4$gii$[EMAIL PROTECTED]">news:af7fj4$gii$[EMAIL PROTECTED]... > > Let's say I have a loop that looks like: > > for (int i = 0; i < 2; i++) { > > someArray[i] = i; > > } > > > > I'd like to be able to inline i and get the following: > > someArray[0] = 0; > > someArray[1] = 1; > > > > Obviously this can only work when the bounds of the loop are constants. > > > > Roger Dubbs > > > > > > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
