Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Template String Converter EditionNew to Visual Studio Code? Get it now.
Template String Converter Edition

Template String Converter Edition

hvuad

|
459 installs
| (0) | Free
Converts a string to a template string when ${ is typed
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Template String Converter

This Visual Studio Code extension converts a string to a template string when "${" is typed.

typing a dollar sign then open curly brace within a string converts the quotes to backticks

Settings

Name Description Default Value
template-string-converter.enable Switches the extension on/off true
template-string-converter.validLanguages Languages the extension should apply to svelte, typescript, javascript, typescriptreact, javascriptreact
template-string-converter.quoteType single (''), double (""), or both both
template-string-converter.convertOutermostQuotes In the case of nested quotes, converts the outermost ones to backticks false
template-string-converter.autoRemoveTemplateString When $ or { is deleted, replace backticks with quotes typing a dollar sign and open curly brace converts the quotes to backticks. deleting the $ sign causes the backticks to be replaced with quotes false
template-string-converter.convertWithinTemplateString Within a template string, converts strings to template strings when ${ is typed true
template-string-converter.addBracketsToProps Adds brackets to the template string for JSX properties typing a dollar sign then open curly brace with addBracketsToProps set to true converts the quotes to backticks and adds brackets around the property false
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft