默认状态为 5000 个符号。这取决于机器的性能还是其他什么?
从 VS Code 设置:
JSON: Max Items Computed The maximum number of outline symbols and folding regions computed (limited for performance reasons).
最佳答案
这与编辑器中的 GUI 按钮有关,您可以使用它来折叠 JSON 树。
如果项目超过最大值,准备这些按钮的例程将放弃,并且不会显示这些按钮。我经历过一次 package-lock.json
在具有大量依赖项的项目中。
一个合理的方法是:
考虑你是否真的需要它们
关于json - 我应该在 VS Code 中为 'json.maxItemsComputed' 设置什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62917867/