Extract local refactoring doesn't work for expressions in string interpolation
Extract local from an expression inside an interpolated string currently mangles the source code. An example:
Extracting the expression 5+5 to the val extracted results in:
Moved from https://github.com/scala-ide/scala-refactoring/issues/26
val i = s"example string ${5+5}"
Extracting the expression 5+5 to the val extracted results in:
val extracted = 5+5
val i = extracted}"
Moved from https://github.com/scala-ide/scala-refactoring/issues/26
Leave a comment