Microsoft/vscode

Default formatter selection should write to project specific settings rather than global.

Open

#71.755 geöffnet am 5. Apr. 2019

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (10.221 Forks)batch import
feature-requestformattinghelp wanted

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

The new Default formatter selection feature, while handy, is unusable for it's stated usecase.

From the updates page "Many of our users work on different projects and often different projects use different document formatters." Right now, the quick pick will write to the user settings.json, which means every project the particular user works on will share a formatter, and to use it for the usecase of different projects using different formatters you would have to manually move it to the project local .vscode/settings.json directory.

It should also do this for workspace specific settings.

Contributor Guide