template-string-converter
template-string-converter copied to clipboard
Autocorrect from quotes to backticks
I just had the following edge case happen to me: Original string `"Couldn't find user ${user}. Are you sure they're on the server?"` Upon typing ${user}, the extension converted the...
It'd be nice when I write a name of a [tag function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates) before a string, Template String Converter would automatically switch quotes with backticks: ```typescript "Hello, world!" // string tag"Hello,...
https://user-images.githubusercontent.com/17174443/166249702-4dddf872-cda1-48f8-b117-90c4e8899aca.mov Settings:  Code: `;`
"test {me}" -> "test ${me}" becomes -> \`test ${}me}\` with an extra brace


First off, thanks for this extension - started using it today and it seems really useful... but one thing I was surprised didn't work was doing this: https://user-images.githubusercontent.com/1249597/145416157-927e6941-5598-4f12-beb6-ff9083e4c536.mp4 It works...
JSX props (React) on their own lines do not convert correctly to template strings: ```jsx function Div(props) { return ( ); } ``` 
Hi! Thank you for your extension. It's super useful! I do have a feature suggestion to *hopefully* make it even better: The extension currently does not trigger on paste events,...
With the `template-string-converter.autoRemoveTemplateString` option, it would be nice if this respected the user's settings: - `.editorconfig` -> `quote_type` - any [Prettier configuration files](https://prettier.io/docs/en/configuration.html) -> `singleQuote` - more? Or, in lieu...