Microsoft/vscode

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

Open

#71,755 建立於 2019年4月5日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)TypeScript (10,221 fork)batch import
feature-requestformattinghelp wanted

倉庫指標

Star
 (74,848 star)
PR 合併指標
 (平均合併 11小時 43分鐘) (30 天內合併 1,000 個 PR)

描述

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.

貢獻者指南