I am using ts lint and its set to allow single quotes (') instead of double (").
I used to be able to use the reformat code shortcut CTRL-ALT-L and this would automatically swap all occurrences of " to ' in the file.
This has stopped working and I cant see a way to turn it back on in the settings… can anyone help?
>Solution :
Go to Preferences : Editor : Code Style : Typescript, to the Punctuation tab, then make sure you have Use single quotes always
Then reformat the file again (CTRL-ALT-L).
It may have stopped working because you switched code style schemes to one without the above setting.
You can do the same for Javascript to be consistent.