没有合适的资源?快使用搜索试试~
我知道了~
vscode-sort-json:VSCode扩展以对JSON对象进行排序

共25个文件
js:7个
json:6个
png:3个

需积分: 28
633 浏览量
2021-05-04
16:39:46
收藏
380KB
ZIP
举报
VSCode SortJSON 它是什么? 按字母顺序对所选JSON对象中的键进行排序。 请谨慎使用-我已尝试确保它不会使您的JSON无效。 但是,由于必须解析>排序>字符串化,因此有可能会丢失某些内容。 对于纯JSON应该没问题。 通过VSCode扩展安装 选择一个JSON对象(请注意,它使用完整的行,因此请确保所选的行是有效的JSON对象) 运行扩展(Cmd + Shift + P =>排序JSON) 上下文菜单 如果“上下文菜单”中的条目过多,则可以通过将其添加(并编辑)到VSCode首选项中来修改显示的内容: "sortJSON.contextMenu": { "sortJSON": false, "sortJSONAlphaNum": false, "sortJSONAlphaNumReverse": false, "sortJ























收起资源包目录



















