template-string-converter icon indicating copy to clipboard operation
template-string-converter copied to clipboard

Autocorrect from quotes to backticks

Results 25 template-string-converter issues
Sort by recently updated
recently updated
newest added

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...

bug

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,...

enhancement

https://user-images.githubusercontent.com/17174443/166249702-4dddf872-cda1-48f8-b117-90c4e8899aca.mov Settings: ![image](https://user-images.githubusercontent.com/17174443/166249778-57d7691c-f329-4beb-9590-55206ec1d081.png) Code: `;`

bug

"test {me}" -> "test ${me}" becomes -> \`test ${}me}\` with an extra brace

bug

![Screen Recording 2022-03-26 at 10 40 18](https://user-images.githubusercontent.com/4376696/160235989-190a6d98-4f2a-4125-8525-a28ebab199cc.gif)

bug

![Animation](https://user-images.githubusercontent.com/33768764/149638888-5ab39621-f86a-40eb-ab17-06b3e37093dc.gif)

bug

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...

enhancement

JSX props (React) on their own lines do not convert correctly to template strings: ```jsx function Div(props) { return ( ); } ``` ![Kapture 2020-10-22 at 10 55 51](https://user-images.githubusercontent.com/1935696/96848959-5671b400-1455-11eb-9fa3-cf61b3f89a7b.gif)

bug

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,...

enhancement

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...

enhancement