Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>jsonxNew to Visual Studio Code? Get it now.
jsonx

jsonx

My灬Best丶Angel

|
495 installs
| (0) | Free
Annotable JSON file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

【插件】jsonx:vscode jsonx 扩展 - 可注释的 json 文件

说在前头

该插件目前只解决注释问题,编译的引擎需配合 npm 包使用

目前预解析引擎个人只开发了rollup-plugin-jsonx,请配合 rollup 使用


含有什么

  1. 本地静态校验
  2. error 错误提醒
  3. 关键字配色

不含有什么

  1. 引擎

json 文件在静态开发的情况下不可直接引入,jsonx 也相同,您需要 webpack 或 rollup 进行 requre、import 调用

rollup 可推荐用 rollup-plugin-jsonx webpack loader 可推荐用 json5

jsonx 不含有引擎,除 loader 外,需要您开发 npm 包进行预解析


关于

make:o︻そ ╆OVE▅▅▅▆▇◤(清一色天空)

blog:http://blog.csdn.net/mcky_love

掘金:https://juejin.im/user/59fbe6c66fb9a045186a159a/posts

lofter:http://zcxy-gs.lofter.com/

sf:https://segmentfault.com/u/mybestangel

git:https://github.com/gs3170981/vscode_jsonx.git


结束语

如有 bug/意见,望提 Issues,如好用请 star~

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft