Wrong conversion for nested strings
See original GitHub issueIssue Type: Bug
Here’s a GIF of me reproducing the issue:
For the code:
'I said: "Hello world!"'
After the “Hello”, type ${
Expected This should result in:
`I said: "Hello ${}world!"`
Actual The part between the double quotes is converted:
'I said: `Hello ${}world!`'
Extension version: 0.2.0 VS Code version: 1.50.0 OS version: macOS 10.15.7
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
wrong result when converting multiple strings to integers in c ...
wrong result when converting multiple strings to integers in c. Atoi does not remove the old conversions · 4. your array sizes aren't...
Read more >Single/double quotes conversion broken for f-strings containing ...
Single/double quotes conversion broken for f-strings containing nested quotes ... Whereas PyCharm should convert all the inner strings in the opposite direction.
Read more >List (nested) function does not convert string to list (count does ...
Hi there, My version: Terraform v0.12.16 My variable: variable "this_amq_network_cidr_blocks" { description = "LIST of network CIDR blocks ...
Read more >JSON methods, toJSON - The Modern JavaScript Tutorial
JSON methods, toJSON ... Let's say we have a complex object, and we'd like to convert it into a string, to send it...
Read more >5 Ways to Convert a Value to String in JavaScript
"" + val: simply cast number to string - let's say inside of the .map() · JSON.stringify(val): need to convert small non-nested object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Works like a charm — thank you!
This works as expected by setting
template-string-converter.quoteType
tosingle
in settings on my end.