Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>uni-app-schemasNew to Visual Studio Code? Get it now.
uni-app-schemas

uni-app-schemas

Uni Helper

|
141,441 installs
| (0) | Free
| Sponsor
校验 uni-app 中的 androidPrivacy.json、pages.json 和 manifest.json 格式
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

@uni-helper/uni-app-schemas-vscode

License

Visual Studio Marketplace Version

Open VSX Version

改动日志

想让 uni-app 开发变得更直观、高效?想要更好的 uni-app 开发体验?不妨看看 uni-helper 主页 和 uni-helper GitHub Organization!

插件特性

校验 uni-app 中的 androidPrivacy.json、pages.json 和 manifest.json 格式。

插件和文档的冲突之处,请以文档为准。

插件源代码在 uni-helper/uni-app-schemas-vscode。欢迎提交 ISSUE 和 PR 改进本插件。

使用

安装插件后重启 VSCode 即可。如果不使用插件,可以手动在对应文件的顶部加入 "$schema" 字段。

由于网络原因,cdn.jsdelivr.net 可能不可用,请手动更换成 jsd.cdn.zzko.cn、cdn.jsdelivr.us、gcore.jsdelivr.net、testingcf.jsdelivr.net 等地址,或直接引用 GitHub 源文件地址。

androidPrivacy.json

{
  "$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/androidPrivacy.json"
}

manifest.json

该文件根据 @uni-helper/vite-plugin-uni-manifest 提供的 TypeScript 类型自动生成,0.9.0 起默认使用该文件

{
  "$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/manifest.json"
}

pages.json

该文件根据 @uni-helper/vite-plugin-uni-pages 提供的 TypeScript 类型自动生成,0.9.0 起默认使用该文件

{
  "$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/pages.json"
}

manifest_legacy.json

该文件根据官方文档手动整合,0.9.0 前默认使用该文件,不建议再使用

{
  "$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/manifest_legacy.json"
}

pages_legacy.json

该文件根据官方文档手动整合,0.9.0 前默认使用该文件,不建议再使用

{
  "$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/pages_legacy.json"
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft