IMhO, the reverse refactoring would be a hundred times more useful :

 From :
-----------
     someArray[0] = 0;
     someArray[1] = 1;

To :
-----------
     for (int i = 0; i < 2; i++) {
         someArray[i] = i;
     }


Alain Ravet




Roger Dubbs wrote:
 > 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;



_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to