i have this:
$accountnr = $csvdata[2][1]; $firstname = $csvdata[3][1]; $lastname = $csvdata[4][1]; $telephone1 = $csvdata[5][1]; $telephone2 = $csvdata[6][1]; $telephone3 = $csvdata[7][1]; $telephone4 = $csvdata[8][1]; $email1 = $csvdata[9][1]; $email2 = $csvdata[10][1]; $email3 = $csvdata[11][1]; $email4 = $csvdata[12][1]; $address1 = $csvdata[13][1]; $address2 = $csvdata[14][1]; $zip = $csvdata[15][1]; $state = $csvdata[16][1];
i want this:
$accountnr = $csvdata[2][1]; $firstname = $csvdata[3][1]; $lastname = $csvdata[4][1]; $telephone1 = $csvdata[5][1]; $telephone2 = $csvdata[6][1]; $telephone3 = $csvdata[7][1]; $telephone4 = $csvdata[8][1]; $email1 = $csvdata[9][1]; $email2 = $csvdata[10][1]; $email3 = $csvdata[11][1]; $email4 = $csvdata[12][1]; $address1 = $csvdata[13][1]; $address2 = $csvdata[14][1]; $zip = $csvdata[15][1]; $state = $csvdata[16][1];
there intellij plugin called "string manipulation" that.
but: when select whole file , format using formatting of phpstorm, gets changed again.
is there different cleaner way it?
settings/preferences
editor | code style | php
wrapping , braces --> assignment statement
- activate
align consecutive assignments
option
Comments
Post a Comment