'Autochange Setting Double Quotes to Single Quotes in VSCode
i explored all over the topics and found out there is no answer for this question, everyone is using search and replace, that's not the point. we have to set the default value for attributes when completion is accepted. I just found out how to change it , so i decided to share with you too. hope it helps
- Click the 'File' tab (which is in the upper left corner)
- Select 'Preferences'> 'Settings'. You can skip 1 and 2 steps by Press 'Ctr + Comma'
- Search for 'Attribute Default Value'
- Simply select 'singlequotes' in select field.
So, That's it. Simple and fast
Solution 1:[1]
- Click the 'File' tab (which is in the upper left corner)
- Select 'Preferences'> 'Settings'. You can skip 1 and 2 steps by Press 'Ctr + Comma'
- Search for 'Attribute Default Value'
- Simply select 'singlequotes' in select field.
So, That's it. Simple and fast
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Korosh Kiani |
