Replace string with newline PHPStorm -


I can not find a way to change the string with a new line in PHPStorm. Anyone have ideas? Tried it \ n but it will add 2 characters instead of just entering a new row. Here is the case of additional data used in answer to Solarbeare:

Original text:

  "aaaaa", "bbbbb", "ccc", some other text < / Code> "Iiii", "bbbbb" => "Iiii", "ccc" = & gt; "Iiii", 

desired text

  "aaaaa" => / code>  

some other text

when I I try the SolarBeer solution, then I select the "AAAA" line and select the multi-line and

  in the top box  

And

  = & gt; "Iiii", [newline]  

In the other box. What happens is that the first "," is changed, but when I change to the next place, "PHPstorm changes again", "After producing the replacement button it is produced:

iiii "" iiii "," bbbbb "," cccc "

:
  • Resex option (given below 1 Press
  • ">
  • as shown on the screenshot) Before: Enter image details here

    After: Enter image details here


    Comments