Template String Converter
This extension addresses this request to convert Javascript/Typescript quotes to backticks when ${
has been entered within a string.
Features
Autocorrect from quotes to backticks within javascript and typescript files
Extension Settings
template-string-converter.enable
: enable/disable this extensiontemplate-string-converter.validLanguages
: an array of valid languages to run the extension ontemplate-string-converter.quoteType
: both, single, or doubletemplate-string-converter.convertOutermostQuotes
: true/false for nested strings, converts the outermost quotes to backtickstemplate-string-converter.convertWithinTemplateString
: true/false convert to template strings within a template stringtemplate-string-converter.addBracketsToProps
: true/false as shown below