Improve assist "Convert to single/double quoted string" #40888
Labels
analyzer-quick-fix
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
P4
type-enhancement
A request for a change that isn't a bug
The assist Convert to single/double quoted string is not available for some cases that could be handled. Moreover the convertion should remove backslashes when they are useless.
Here's what should works for Convert to double quoted string:
'it\'s'
->"it's"
(currently convert to"it\'s"
)'it"s'
->"it\"s"
(currently no assist suggested)The text was updated successfully, but these errors were encountered: