Auto-Import
Auto-Import copied to clipboard
Quotes are always double quotes
Hey,
I have an issue where quotes used in imports are always "
regardless of the value of autoimport.doubleQuotes
.
vscode version: 1.11.2 autoimport version: 1.2.2
Awesome extension otherwise!
Same here with me.
Same here, and tslinit nagging about it all the time
Nice works. Same here, and tslinit nagging about it all the time.
With doubleQuotes false the last one is doublequoted :(
This extension is not the one that is inserting the double quote option into the quick fix view. This is done by TypeScript. You can track the issue here: https://github.com/Microsoft/TypeScript/issues/13270
~~This comment has a hot-fix which might work for you: https://github.com/Microsoft/TypeScript/issues/13270#issuecomment-366454554~~
~~Or this extension could be used: https://marketplace.visualstudio.com/items?itemName=DSKWRK.vscode-generate-getter-setter~~
~~A relevent Stackoverflow post: https://stackoverflow.com/questions/42952453/visual-studio-code-adjust-import-quotation-setting~~
EDIT:
The May 2018 VS Code release fixes this issue. You can now configure this behavior using the typescript.preferences.quoteStyle setting.
https://code.visualstudio.com/updates/v1_24#_preferences-for-auto-imports-and-generated-code