ES Quotes for Visual Studio Code
A simple quotes helper for JavaScript and TypeScript.
It uses a simplified parser to build the string tree then handle the replacement.
So don't worry about your comments containing quotes.
And more.
Install
Ctrl/Cmd + P in Visual Studio Code, then:
ext install es-quotes
Commands
esQuotes.transformToTemplateString
Transform a normal string to a template string.
esQuotes.transformToNormalString
Transform a template string to a normal string.
esQuotes.transformBetweenSingleDoubleQuotes
Transform a normal string between single and double quotes.
esQuotes.transformBetweenQuotes
Transform a normal string between single, double and template quotes.
Options
esQuotes.defaultQuote
Default quote when transforming to a normal string. Can be either ' or " .
License
MIT License.
| |