Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ete-helperNew to Visual Studio Code? Get it now.
ete-helper

ete-helper

xhs-appworks

|
1 install
| (0) | Free
组装平台ide工具
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ete-helper

ete-helper 是一个为小红书组装平台开发的 VS Code 扩展,提供了便捷的物料开发、预览、部署和发布功能。

功能特性

  • 🚀 物料开发

    • 本地预览:快速启动物料开发环境
    • 发布:发布物料到生产环境
  • 🌐 平台集成

    • 快速打开组装平台

安装要求

  • VS Code 版本 >= 1.41.0
  • Node.js 环境

使用方法

前置要求

需要全局安装 @xhs/ete-cli@0.0.1-test.0 和 axios

npm i -g @xhs/ete-cli@0.0.1-test.0
npm i -g axios

命令面板

  1. 按下 Cmd+Shift+P (macOS) 或 Ctrl+Shift+P (Windows/Linux) 打开命令面板
  2. 输入 "ete" 可以看到所有可用命令

右键菜单

在文件资源管理器中右键点击物料项目文件夹,可以看到以下选项:

  • 物料-本地预览
  • 物料-发布
  • 打开组装平台

可用命令

  • ete-helper.runDev: 启动物料本地预览环境
  • ete-helper.runDeploy: 部署物料到测试环境
  • ete-helper.runBuild: 构建物料项目
  • ete-helper.runPublish: 发布物料到生产环境(构建+部署)
  • ete-helper.openEteMaterialWeb: 打开组装平台

开发

环境设置

  1. 克隆仓库
  2. 安装依赖:
    yarn install
    
  3. 编译项目:
    yarn compile
    
  4. 按 F5 启动调试

项目结构

  • src/extension.ts: 扩展主入口文件
  • src/cli.ts: CLI 命令实现
  • src/webview.ts: Webview 面板实现
  • src/terminal/: 终端相关功能实现

发布说明

0.0.1

  • 初始版本发布
  • 支持物料预览、构建、发布
  • 集成组装平台

许可证

MIT

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