microsoft/typescript-go

Respect quoteStyle when adding imports

Closed this issue · 2 comments

For auto imports, we'd like the quoteStyle preferences in VS Code to be respected. In the VS code codebase we use single quotes for everything but auto imports always uses double quotes

Right now we don't pull any user preferences at all; we need to write the code that asks the client for all settings inside typescript/javascript/etc scopes from VS Code, registers config update watchers, and then persists the settings until change.

(This isn't the only place we are not producing "acceptable" output in fixes/completions; I would really recommend getting a formatter running automatically on the codebase, honestly...)