Microsoft/vscode

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

Open

#71,755 opened on 2019年4月5日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)TypeScript (10,221 forks)batch import
feature-requestformattinghelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (平均マージ 11h 43m) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド