Windows 终端 - 什么在保存时缩小我的配置?

Windows Terminal - what is minifying my config on save?

我正在尝试编辑 Windows 终端的 JSON 配置文件:

当我保存时,文档被缩小:

我只有两个扩展(我删除了其他的并重新启动 vscode)。我如何找出缩小发生的位置?我该如何阻止它?

这是 Windows 终端中的错误。 它现在已在当前预览版中修复。 来自 Microsoft 的 Mike Griese answered this via GitHub:

The profiles.json thing is a temporary thing. Unfortunately, Windows.Data.Json always writes out json as a single line, without the ability to pretty-print it, and we re-write the profiles.json to make sure that it stays up to date with the schema of the app. So currently, it'll keep re-writing it. But that's a huge pain point that we want to fix ASAP.