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.

贡献者指南