Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>minify-jsonNew to Visual Studio Code? Get it now.

minify-json

YYyoung

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

minify-json README

仅限前端开发内部使用

功能简介

  1. 对于 midea_json_new 目录下的文件,可快速上传至 oss 中 midea_json_new/midea_json_new_sit 目录中对应的位置,可选择上传环境:pro/sit;
  2. 非 midea_json_new 目录暂不支持,且如果是新建目录还是需要去 ftp 工具中新建(一定要上传会报未找到目标目录错误);
  3. 对于上传的文件为 json 格式的文件,会对 json 文件做一次初步的压缩(stringify: 去掉空格和换行)
  4. 支持在资源管理器目录进行多选文件操作(但不支持上传整个文件夹:folder,只支持文件:file,文件类型不限);

代码开发

  1. vscode开发插件教程(网上虽然一堆但是比较杂乱,且大多摘抄官方文档,所以还是去看官方文档吧);
  2. clone此仓库代码后,用vscode打开,使用『运行调试』功能进行运行和调试插件开发,主功能代码在 src/extension.ts 目录中;
  3. 全局安装vsce为插件打包:npm install vsce -g,打包命令:vsce package,打包后得到vscode插件本地安装文件 .vsix;
  4. 发布:vsce publish (首先要有应用市场Token,获取教程)
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft