You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something small which I find myself constantly doing while editing javascript...
Having typed a literal string using single/double-quotes, I then find I need to embed an expression and so need to manually navigate to convert the start and end quotes to backticks.
It would be super useful to have a code action which either:
shows a refactoring option to "convert to template string". This would simply replace the start and end quotes with backticks (and probably auto-escape any existing backticks within the string).
automagically converts to a template string if any instances of ${ are typed in the string.
I'd be happy to look into creating a PR for this, but just wondering if anyone else has this issue or if a better solution already exists.
The text was updated successfully, but these errors were encountered:
Something small which I find myself constantly doing while editing javascript...
Having typed a literal string using single/double-quotes, I then find I need to embed an expression and so need to manually navigate to convert the start and end quotes to backticks.
It would be super useful to have a code action which either:
${
are typed in the string.I'd be happy to look into creating a PR for this, but just wondering if anyone else has this issue or if a better solution already exists.
The text was updated successfully, but these errors were encountered: