From 7aa3c4da533cf23e8d47a3a6f35f15bb2096c2bb Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Wed, 19 Aug 2020 11:31:29 +0800 Subject: [PATCH 01/13] feat: update debug config (#442) --- .gitignore | 1 + extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 540936137..5b9b200f7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* +.vscode node_modules .DS_Store diff --git a/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts b/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts index e567f8a57..b659c7217 100644 --- a/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts +++ b/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts @@ -21,8 +21,8 @@ const tasksConfigTemplate = ` [ { "label": "<%= startLabel %>", - "type": "npm", - "script": "start", + "command": "npm", + "args": ["run", "start", "--", "--disable-open"], "isBackground": true, "problemMatcher": { "pattern": { From 6986fb188b6cbd0d5576b598a934f0c4135efa92 Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Wed, 19 Aug 2020 14:19:04 +0800 Subject: [PATCH 02/13] feat: support pegasus project debugger (#440) * feat: support * fix: prettier:fix * feat: update pegasus * fix: prettier:fix * feat: update * feat: update version --- extensions/iceworks-app/CHANGELOG.md | 3 +++ extensions/iceworks-app/package.json | 2 +- .../src/debugConfig/getDefaultConfigs.ts | 23 +++++++++++++------ .../iceworks-app/src/debugConfig/index.ts | 23 ++++++++++++++++--- 4 files changed, 40 insertions(+), 11 deletions(-) diff --git a/extensions/iceworks-app/CHANGELOG.md b/extensions/iceworks-app/CHANGELOG.md index faadb3452..412648644 100644 --- a/extensions/iceworks-app/CHANGELOG.md +++ b/extensions/iceworks-app/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 0.4.6 +- Support pegasus project debugger. + ## 0.4.5 - feat: add component-generator and component-creator quickPick. diff --git a/extensions/iceworks-app/package.json b/extensions/iceworks-app/package.json index 46399e7ff..928d552ad 100644 --- a/extensions/iceworks-app/package.json +++ b/extensions/iceworks-app/package.json @@ -3,7 +3,7 @@ "displayName": "Iceworks Application Viewer", "description": "Quick view your Universal Application(React/Rax/Vue, etc).", "publisher": "iceworks-team", - "version": "0.4.5", + "version": "0.4.6", "engines": { "vscode": "^1.41.0" }, diff --git a/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts b/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts index b659c7217..ca797af54 100644 --- a/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts +++ b/extensions/iceworks-app/src/debugConfig/getDefaultConfigs.ts @@ -1,5 +1,5 @@ import * as ejs from 'ejs'; -import { CONFIG_NAME, START_URL, CONFIG_START_LABEL, CONFIG_STOP_LABEL, IDebugConfig } from './index'; +import { CONFIG_NAME, BASE_URL, CONFIG_START_LABEL, CONFIG_STOP_LABEL, IDebugConfig } from './index'; const launchConfigTemplate = ` [ @@ -8,7 +8,7 @@ const launchConfigTemplate = ` "request": "launch", "name": "<%= configName %>", "url": "<%= startUrl %>", - "urlFilter": "<%= startUrl %>/**/*", + "urlFilter": "<%= baseUrl %>/**/*", "webRoot": "\${workspaceFolder}", "userDataDir": "\${workspaceFolder}/.vscode/chrome-debug-user-data", "preLaunchTask": "<%= startLabel %>", @@ -24,13 +24,20 @@ const tasksConfigTemplate = ` "command": "npm", "args": ["run", "start", "--", "--disable-open"], "isBackground": true, + <%_ if (isPegasusProject) { -%> + "options": { + "env": { + "PEGASUS_DEVKIT": "Iceworks" + } + }, + <%_ } -%> "problemMatcher": { "pattern": { "regexp": "ERROR in .*" }, "background": { "beginsPattern": ".*(@alib/build-scripts|ice\\\\.js|rax\\\\.js).*", - "endsPattern": ".*<%= startUrl %>.*" + "endsPattern": ".*<%= baseUrl %>.*" } } }, @@ -46,14 +53,15 @@ const tasksConfigTemplate = ` `; // https://code.visualstudio.com/docs/editor/debugging#_launch-configurations -export function getLaunchConfig(): IDebugConfig { +export function getLaunchConfig(launchUrl?: string): IDebugConfig { const DEBUG_LAUNCH_VERSION = '0.2.0'; return { version: DEBUG_LAUNCH_VERSION, configurations: JSON.parse( ejs.render(launchConfigTemplate, { configName: CONFIG_NAME, - startUrl: START_URL, + startUrl: launchUrl || BASE_URL, + baseUrl: BASE_URL, startLabel: CONFIG_START_LABEL, stopLabel: CONFIG_STOP_LABEL, }) @@ -62,13 +70,14 @@ export function getLaunchConfig(): IDebugConfig { } // https://code.visualstudio.com/docs/editor/tasks#vscode -export function getTasksConfig(): IDebugConfig { +export function getTasksConfig(isPegasusProject = false): IDebugConfig { const DEBUG_TASKS_VERSION = '2.0.0'; return { version: DEBUG_TASKS_VERSION, tasks: JSON.parse( ejs.render(tasksConfigTemplate, { - startUrl: START_URL, + baseUrl: BASE_URL, + isPegasusProject, startLabel: CONFIG_START_LABEL, stopLabel: CONFIG_STOP_LABEL, }) diff --git a/extensions/iceworks-app/src/debugConfig/index.ts b/extensions/iceworks-app/src/debugConfig/index.ts index 03df57e99..a8c88e563 100644 --- a/extensions/iceworks-app/src/debugConfig/index.ts +++ b/extensions/iceworks-app/src/debugConfig/index.ts @@ -5,10 +5,10 @@ import { parse } from 'comment-json'; import { getLaunchConfig, getTasksConfig } from './getDefaultConfigs'; // Iceworks debug config +export const BASE_URL = 'http://localhost:3333'; export const CONFIG_NAME = 'Iceworks Debug'; export const CONFIG_START_LABEL = 'Iceworks Start Background Tasks'; export const CONFIG_STOP_LABEL = 'Iceworks Stop Background Tasks'; -export const START_URL = 'http://localhost:3333'; export interface IDebugConfig { version?: string; @@ -35,9 +35,25 @@ export function setDebugConfig() { fs.mkdirSync(targetDir); } + // Set pegasus service url + let isPegasusProject = false; + let specialLaunchUrl = ''; + try { + const abcConfigFile = path.join(rootPath, 'abc.json'); + if (fs.existsSync(abcConfigFile)) { + const abcConfig = fs.readJSONSync(abcConfigFile); + if (abcConfig.type === 'pegasus' && abcConfig.group && abcConfig.name) { + isPegasusProject = true; + specialLaunchUrl = `${BASE_URL}/${abcConfig.group}/${abcConfig.name}`; + } + } + } catch (e) { + // ignore + } + // Set launch.json let launchConfig; - const defaultLaunchConfig = getLaunchConfig(); + const defaultLaunchConfig = getLaunchConfig(specialLaunchUrl); const launchConfigPath = path.join(targetDir, 'launch.json'); if (fs.existsSync(launchConfigPath)) { const configurations: any[] = []; @@ -55,8 +71,9 @@ export function setDebugConfig() { // Set tasks.json let tasksConfig; - const defaultTasksConfig = getTasksConfig(); + const defaultTasksConfig = getTasksConfig(isPegasusProject); const tasksConfigPath = path.join(targetDir, 'tasks.json'); + if (fs.existsSync(tasksConfigPath)) { const tasks: any[] = []; From ec0f8385cb621be629ba44aa1e4c80342d997af5 Mon Sep 17 00:00:00 2001 From: yangfan <18767120422@163.com> Date: Wed, 19 Aug 2020 15:31:01 +0800 Subject: [PATCH 03/13] feat: support create pegasus project (#439) * feat: init * feat: init service * fix: prettier:fix * feat: udpate * feat: update * fix: prettier:fix * feat: update version * feat: updaet review --- .gitignore | 2 +- .../iceworks-project-creator/CHANGELOG.md | 3 ++ .../iceworks-project-creator/package.json | 9 +++-- .../src/services/index.ts | 3 +- .../components/PegasusCard/index.module.scss | 40 +++++++++++++++++++ .../web/src/components/PegasusCard/index.tsx | 19 +++++++++ .../PegasusScaffoldContent/index.module.scss | 12 ++++++ .../PegasusScaffoldContent/index.tsx | 32 +++++++++++++++ .../web/src/locales/en-US.json | 1 + .../web/src/locales/zh-CN.json | 1 + .../components/ScaffoldMarket/index.tsx | 23 ++++++++++- .../web/src/pages/CreateProject/index.tsx | 1 + 12 files changed, 138 insertions(+), 8 deletions(-) create mode 100644 extensions/iceworks-project-creator/web/src/components/PegasusCard/index.module.scss create mode 100644 extensions/iceworks-project-creator/web/src/components/PegasusCard/index.tsx create mode 100644 extensions/iceworks-project-creator/web/src/components/PegasusScaffoldContent/index.module.scss create mode 100644 extensions/iceworks-project-creator/web/src/components/PegasusScaffoldContent/index.tsx diff --git a/.gitignore b/.gitignore index 5b9b200f7..f917e556d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,12 +5,12 @@ npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* -.vscode node_modules .DS_Store .eslintcache .happypack +.vscode coverage/ tmp/ .tmp/ diff --git a/extensions/iceworks-project-creator/CHANGELOG.md b/extensions/iceworks-project-creator/CHANGELOG.md index 3ebaf798b..1ac1f3798 100644 --- a/extensions/iceworks-project-creator/CHANGELOG.md +++ b/extensions/iceworks-project-creator/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 0.3.7 +- feat: support create pegasus project + ## 0.3.6 - feat: disable form input when submitting diff --git a/extensions/iceworks-project-creator/package.json b/extensions/iceworks-project-creator/package.json index cb2b11a71..5cf8ec67c 100644 --- a/extensions/iceworks-project-creator/package.json +++ b/extensions/iceworks-project-creator/package.json @@ -3,7 +3,7 @@ "displayName": "Iceworks Application Creator", "description": "Quick create a Universal Application(React/Rax/Vue, etc).", "publisher": "iceworks-team", - "version": "0.3.6", + "version": "0.3.7", "engines": { "vscode": "^1.41.0" }, @@ -89,12 +89,13 @@ "webpack-cli": "^3.3.11" }, "dependencies": { - "@iceworks/recorder": "^0.1.0", "@iceworks/common-service": "^0.1.3", + "@iceworks/i18n": "^0.1.0", "@iceworks/material-service": "^0.1.3", + "@iceworks/pegasus-service": "^0.1.0", "@iceworks/project-service": "^0.1.4", - "@iceworks/vscode-webview": "^0.1.1", - "@iceworks/i18n": "^0.1.0" + "@iceworks/recorder": "^0.1.0", + "@iceworks/vscode-webview": "^0.1.1" }, "homepage": "https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-project-creator/README.md", "bugs": { diff --git a/extensions/iceworks-project-creator/src/services/index.ts b/extensions/iceworks-project-creator/src/services/index.ts index d2c0e00a5..d173045ea 100644 --- a/extensions/iceworks-project-creator/src/services/index.ts +++ b/extensions/iceworks-project-creator/src/services/index.ts @@ -1,5 +1,6 @@ import * as project from '@iceworks/project-service'; import * as material from '@iceworks/material-service'; import * as common from '@iceworks/common-service'; +import * as pegasus from '@iceworks/pegasus-service'; -export default { project, common, material }; +export default { project, common, material, pegasus }; diff --git a/extensions/iceworks-project-creator/web/src/components/PegasusCard/index.module.scss b/extensions/iceworks-project-creator/web/src/components/PegasusCard/index.module.scss new file mode 100644 index 000000000..5511c9f2f --- /dev/null +++ b/extensions/iceworks-project-creator/web/src/components/PegasusCard/index.module.scss @@ -0,0 +1,40 @@ +.container { + width: 160px; + border: 1px solid $color-fill1-4; + margin: 0 10px 20px 10px; + padding: 12px 10px; + cursor: pointer; + position: relative; + display: flex; + flex-direction: row; + align-items: center; + + .icon { + width: 24px; + height: 24px; + } + + .title { + margin: 0 5px; + color: white; + font-size: 16px; + font-weight: normal; + line-height: 1.5; + } + + .newTag { + position: absolute; + top: -5px; + right: 4px; + width: 28px; + height: 28px; + } + + &:hover { + border: 1px solid $color-notice-3; + } +} + +.active { + border: 1px solid $color-notice-3; +} diff --git a/extensions/iceworks-project-creator/web/src/components/PegasusCard/index.tsx b/extensions/iceworks-project-creator/web/src/components/PegasusCard/index.tsx new file mode 100644 index 000000000..6642de42e --- /dev/null +++ b/extensions/iceworks-project-creator/web/src/components/PegasusCard/index.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import { useIntl } from 'react-intl'; +import classnames from 'classnames'; +import callService from '@/callService'; + +import styles from './index.module.scss'; + +export default (props) => { + const { onClick, selected } = props; + const intl = useIntl(); + + return ( +
{intl.formatMessage({ id: 'web.iceworksProjectCreator.ScaffoldMarket.pegasus' })}
+
@@ -9,7 +8,7 @@
基于 VS Code 的多端研发套件 Visual Intelligent Development AssistantIceworks
- | [issues] | [gitter]|
diff --git a/README.en.md b/README.zh-CN.md
similarity index 70%
rename from README.en.md
rename to README.zh-CN.md
index b77b9252f..fe8e2d029 100644
--- a/README.en.md
+++ b/README.zh-CN.md
@@ -1,4 +1,4 @@
-English | [简体中文](./README.md)
+简体中文 | [English](./README.md)
@@ -8,7 +8,7 @@ English | [简体中文](./README.md)
Universal Application Development Pack 可视化智能开发助手 Visual Intelligent Development Assistant 可视化智能开发助手Iceworks
- | [issues] | [gitter]|
diff --git a/extensions/iceworks-app/README.en.md b/extensions/iceworks-app/README.en.md
deleted file mode 100644
index 9c31b0ed2..000000000
--- a/extensions/iceworks-app/README.en.md
+++ /dev/null
@@ -1,105 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
-
-# Iceworks Application Viewer
-
-Preview and manage your application from a framework perspective, including npm scripts, pages, components and dependencies, friendly for React and [Rax](https://rax.js.org/).
-
-## Usage
-
-### Initialize panel
-
-After you install the Iceworks-APP plugin, an `Iceworks` icon will be added to your activity bar. Click it to enter Iceworks panel.
-
-The initialization panel appears if your current workspace is empty or **isn't React/Rax application**.
-
-
-
-### Create a new project
-
-When you open an empty folder, the initialization panel automatically invokes the create application process, which you can also invoke by clicking the Create Application button on the panel.
-
-
-
-#### Setting
-
-
-
-1. Click Settings to enter the Settings page
-2. Configure package management tools (default: npm)
-3. Configure default image source (default: Taobao image)
-4. Set up custom repositories (default: null)
-
-### Iceworks panel
-
-When your workspace is a React or Rax application, the Iceworks panel appears.
-
-#### View and execute npm Scripts
-
-
-
-1. View executable script information in the left pane.
-2. Click the `Play` button to execute the script at terminal immediately.
-3. Click the `Stop` button to end the corresponding script executed at terminal.
-
-### Pages and Components
-
-#### Jump into corresponding pages and components
-
-
-
-1. Click items in PAGES and COMPONENTS on the left panel.
-2. Jump into files of selected projects.
-
-#### Activate Generate Page and Create Component(See [Iceworks UI Builder](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder))
-
-
-
-1. Click `+` in PAGES header to jump into GENERATE PAGE page.
-2. Click `+` in COMPONENTS header to jump into CREATE COMPONENT page.
-
-### Node Dependencies
-
-#### View the application dependency information and install new dependencies
-
-
-
-1. View all installed dependencies in the project in NODE DEPENDENCIES in the bottom of ICE panel.
-2. Click `⬆` button next to dependency item, you can update the dependency to the latest version.
-3. Click `Reinstall Dependencies` button on NODE DEPENDENCIES header to reinstall all the dependencisce of the project.
-
-#### Install and reinstall dependencies
-
-
-
-1. Click the `+` button on the NODE DEPENDENCIES header.
-2. Select Install product Dependency or Debug Devdependency on the command panel that appears.
-3. Type the npm package name and version information to be installed, such as' `typescript@latest`.
-4. The npm package will be installed automatically.
- NOTE: If the package was installed, it will be reinstalled.
-
-## Iceworks command palette
-
-If you install [Iceworks suite](https://marketplace.visualstudio.com/items?ItemName=iceWorks-team.iceWorks), you can activate other extensions in VS Code command palette.
-
-
-
-1. Find Iceworks in the bottom right of VS Code.
- > NOTE: if you do not find the Iceworks icon, Activate Extension the Iceworks plugin by following the action in 'Activate Extension'.
-2. Click the Iceworks plugin icon to enter the Iceworks command palette.
-
-### Debug
-
-
-
-For more information, please see [Reference Document](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-app/docs/debug.en.md)
-
-## More
-
-See the [Iceworks Pack](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks-app/README.md b/extensions/iceworks-app/README.md
index eba1b3b37..18fb48daa 100644
--- a/extensions/iceworks-app/README.md
+++ b/extensions/iceworks-app/README.md
@@ -1,104 +1,103 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-app/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+# Iceworks Application Viewer
-# Iceworks 应用大纲树
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[](http://opensource.org/licenses/MIT)
-从框架视角预览和管理您应用的组织,包括 npm 脚本、页面、组件和依赖信息。对 React 和 [Rax](https://rax.js.org/) 应用友好。
+Preview and manage your application from a framework perspective, including npm scripts, pages, components and dependencies, friendly for React and [Rax](https://rax.js.org/).
-## 功能
+## Usage
-### 侧边栏 - 初始化
+### Initialize panel
-当您安装了插件之后,VS Code 的活动栏上会增加 Iceworks 图标,单击此图标进入应用大纲树插件。
+After you install the Iceworks-APP plugin, an `Iceworks` icon will be added to your activity bar. Click it to enter Iceworks panel.
-如您当前的**工作区为空**或**非 React/Rax 应用**,则会出现初始化侧边栏。
+The initialization panel appears if your current workspace is empty or **isn't React/Rax application**.
-
+
-#### 创建项目
+### Create a new project
-当您打开一个空文件夹时,初始化侧边栏将自动唤起创建应用流程,您也可以通过点击侧边栏上的「创建应用」按钮来唤起该流程。
+When you open an empty folder, the initialization panel automatically invokes the create application process, which you can also invoke by clicking the Create Application button on the panel.
-
+
-#### 设置
+#### Setting
-
+
-1. 点击设置,进入设置页面
-2. 配置包管理工具(默认为 npm )
-3. 配置默认镜像源(默认为淘宝网镜像)
-4. 选择自定义物料库 (无默认外部物料库)
+1. Click Settings to enter the Settings page
+2. Configure package management tools (default: npm)
+3. Configure default image source (default: Taobao image)
+4. Set up custom repositories (default: null)
-### 侧边栏 - 大纲树
+### Iceworks panel
-当您的工作区是一个 React 或 Rax 应用,则会出现大纲树侧边栏。
+When your workspace is a React or Rax application, the Iceworks panel appears.
-#### 查看和执行应用的 npm 脚本
+#### View and execute npm Scripts
-
+
-1. 在左侧的面板处查看可执行的脚本信息;
-2. 点击 `播放按钮` ,立即在终端执行脚本;
-3. 点击 `终止按钮` ,结束在终端执行的对应脚本。
+1. View executable script information in the left pane.
+2. Click the `Play` button to execute the script at terminal immediately.
+3. Click the `Stop` button to end the corresponding script executed at terminal.
-#### 页面和组件信息
+### Pages and Components
-##### 快速跳转至对应页面和组件的源码
+#### Jump into corresponding pages and components
-
+
-1. 点击左侧面板中页面列表和组件列表中的选项。
-2. 跳转到所选项目所在的源码文件
+1. Click items in PAGES and COMPONENTS on the left panel.
+2. Jump into files of selected projects.
-##### 支持激活添加页面和组件功能 (使用方法参照 [可视化搭建插件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder))
+#### Activate Generate Page and Create Component(See [Iceworks UI Builder](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder))
-
+
-1. 点击页面列表标题栏的 `+` 进入生成页面界面;
-2. 点击组件列表标题栏的 `+` 进入创建组件界面。
+1. Click `+` in PAGES header to jump into GENERATE PAGE page.
+2. Click `+` in COMPONENTS header to jump into CREATE COMPONENT page.
-#### 应用依赖信息
+### Node Dependencies
-##### 查看依赖信息、升级依赖包或重装应用依赖
+#### View the application dependency information and install new dependencies
-
+
-1. 在左下角依赖库中查看应用安装的所有依赖;
-2. 点击依赖项目旁边的 `⬆️` 按钮,即可更新到最新依赖;
-3. 点击依赖列表标题框上的 `重装依赖` 按钮,即可重装应用的所有依赖包。
+1. View all installed dependencies in the project in NODE DEPENDENCIES in the bottom of ICE panel.
+2. Click `⬆` button next to dependency item, you can update the dependency to the latest version.
+3. Click `Reinstall Dependencies` button on NODE DEPENDENCIES header to reinstall all the dependencisce of the project.
-##### 一键安装或重装指定依赖
+#### Install and reinstall dependencies
-
+
-1. 点击依赖列表标题框上面的 `+` 按钮;
-2. 在出现的命令面板上选择安装为 Dependencies (生产环境的依赖)或 devDependencies (开发环境的依赖);
-3. 输入需要安装的 npm 包及版本信息,例如 `typescript@latest` ;
-4. npm 包将会自动安装,如果这个包已经添加到了依赖中,那么将会重新安装。
+1. Click the `+` button on the NODE DEPENDENCIES header.
+2. Select Install product Dependency or Debug Devdependency on the command panel that appears.
+3. Type the npm package name and version information to be installed, such as' `typescript@latest`.
+4. The npm package will be installed automatically.
+ NOTE: If the package was installed, it will be reinstalled.
-### 命令面板
+## Iceworks command palette
-您可以通过点击窗口右下角状态栏上的「Iceworks」按钮激活 Iceworks 命令面板。
+If you install [Iceworks suite](https://marketplace.visualstudio.com/items?ItemName=iceWorks-team.iceWorks), you can activate other extensions in VS Code command palette.
-
+
-1. 找到 VS Code 右下角的 Iceworks 。
- > 注意 : 如果没有 Iceworks 图标,请按照 `激活` 章节的内容来激活此按钮。
-2. 点击 Iceworks 按钮,打开命令面板。
+1. Find Iceworks in the bottom right of VS Code.
+ > NOTE: if you do not find the Iceworks icon, Activate Extension the Iceworks plugin by following the action in 'Activate Extension'.
+2. Click the Iceworks plugin icon to enter the Iceworks command palette.
-### 工程调试
+### Debug

-更多请看[参考文档](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-app/docs/debug.md)
-
-## 更多
-
-访问 [Iceworks 套件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)获取更多功能。
+For more information, please see [Reference Document](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-app/docs/debug.en.md)
-## License
+## More
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+See the [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
diff --git a/extensions/iceworks-app/README.zh-CN.md b/extensions/iceworks-app/README.zh-CN.md
new file mode 100644
index 000000000..f8c01e2f2
--- /dev/null
+++ b/extensions/iceworks-app/README.zh-CN.md
@@ -0,0 +1,102 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-app/README.md)
+
+# Iceworks 应用概览插件
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[](http://opensource.org/licenses/MIT)
+
+从框架视角预览和管理您应用的组织,包括 npm 脚本、页面、组件和依赖信息。对 React 和 [Rax](https://rax.js.org/) 应用友好。
+
+## 功能
+
+### 侧边栏 - 初始化
+
+当您安装了插件之后,VS Code 的活动栏上会增加 Iceworks 图标,单击此图标进入应用大纲树插件。
+
+如您当前的**工作区为空**或**非 React/Rax 应用**,则会出现初始化侧边栏。
+
+
+
+#### 创建项目
+
+当您打开一个空文件夹时,初始化侧边栏将自动唤起创建应用流程,您也可以通过点击侧边栏上的「创建应用」按钮来唤起该流程。
+
+
+
+#### 设置
+
+
+
+1. 点击设置,进入设置页面
+2. 配置包管理工具(默认为 npm )
+3. 配置默认镜像源(默认为淘宝网镜像)
+4. 选择自定义物料库 (无默认外部物料库)
+
+### 侧边栏 - 大纲树
+
+当您的工作区是一个 React 或 Rax 应用,则会出现大纲树侧边栏。
+
+#### 查看和执行应用的 npm 脚本
+
+
+
+1. 在左侧的面板处查看可执行的脚本信息;
+2. 点击 `播放按钮` ,立即在终端执行脚本;
+3. 点击 `终止按钮` ,结束在终端执行的对应脚本。
+
+#### 页面和组件信息
+
+##### 快速跳转至对应页面和组件的源码
+
+
+
+1. 点击左侧面板中页面列表和组件列表中的选项。
+2. 跳转到所选项目所在的源码文件
+
+##### 支持激活添加页面和组件功能 (使用方法参照 [可视化搭建插件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder))
+
+
+
+1. 点击页面列表标题栏的 `+` 进入生成页面界面;
+2. 点击组件列表标题栏的 `+` 进入创建组件界面。
+
+#### 应用依赖信息
+
+##### 查看依赖信息、升级依赖包或重装应用依赖
+
+
+
+1. 在左下角依赖库中查看应用安装的所有依赖;
+2. 点击依赖项目旁边的 `⬆️` 按钮,即可更新到最新依赖;
+3. 点击依赖列表标题框上的 `重装依赖` 按钮,即可重装应用的所有依赖包。
+
+##### 一键安装或重装指定依赖
+
+
+
+1. 点击依赖列表标题框上面的 `+` 按钮;
+2. 在出现的命令面板上选择安装为 Dependencies (生产环境的依赖)或 devDependencies (开发环境的依赖);
+3. 输入需要安装的 npm 包及版本信息,例如 `typescript@latest` ;
+4. npm 包将会自动安装,如果这个包已经添加到了依赖中,那么将会重新安装。
+
+### 命令面板
+
+您可以通过点击窗口右下角状态栏上的「Iceworks」按钮激活 Iceworks 命令面板。
+
+
+
+1. 找到 VS Code 右下角的 Iceworks 。
+ > 注意 : 如果没有 Iceworks 图标,请按照 `激活` 章节的内容来激活此按钮。
+2. 点击 Iceworks 按钮,打开命令面板。
+
+### 工程调试
+
+
+
+更多请看[参考文档](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-app/docs/debug.md)
+
+## 更多
+
+访问 [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。
diff --git a/extensions/iceworks-config-helper/CHANGELOG.md b/extensions/iceworks-config-helper/CHANGELOG.md
index 86b43140a..3305495a0 100644
--- a/extensions/iceworks-config-helper/CHANGELOG.md
+++ b/extensions/iceworks-config-helper/CHANGELOG.md
@@ -1,5 +1,9 @@
# Change Log
+## 0.3.2
+
+- docs: add more badges.
+
## 0.3.1
- feat: support all json files.
diff --git a/extensions/iceworks-config-helper/README.en.md b/extensions/iceworks-config-helper/README.en.md
deleted file mode 100644
index e6b01ce21..000000000
--- a/extensions/iceworks-config-helper/README.en.md
+++ /dev/null
@@ -1,67 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
-
-# Iceworks Config Helper
-
-For [icejs](https://ice.work/)(& [rax-app](https://rax.js.org/)) configuration files(like app.json/build.json), provides visualization form setting or code editing reminder, verification and other features. It also provides visualization for all json files.
-
-## Usage
-
-### Editing Config File Visually
-
-Visually edit the configuration file through the palette.
-
-### Activite
-
-#### Active In Side Bar
-
-
-
-1. Right click on the configuration file in the sidebar and select `Iceworks: Setup xxx.json by visually.` to launch the visual editing panel
-
-#### Active In TextEditer
-
-
-
-1. Open the configuration file, right click `Iceworks: Setup xxx.json by visually.` to launch the visual editing panel
-2. Click the `Iceworks: Setup xxx.json by visually.` icon in the title bar and click it to launch the visual editing panel
-
-### Demo
-
-
-
-### IntelliSense
-
-#### Hover Widget
-
-Whenever you hover over some Json key, shows the description in a Hover widget.
-
-
-
-#### Code Completion
-
-When you input it will show key suggestions related to your config.
-
-
-
-#### Snippets
-
-Use code snippets for quick configuration:
-
-
-
-#### Reveal Source File
-
-Quickly locate the source file of panel and open an editor of sourceFile.
-
-
-
-## More
-
-See the [Iceworks Pack](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks-config-helper/README.md b/extensions/iceworks-config-helper/README.md
index 22951b3cf..ccc5c42d3 100644
--- a/extensions/iceworks-config-helper/README.md
+++ b/extensions/iceworks-config-helper/README.md
@@ -1,74 +1,65 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-config-helper/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
-
-# Iceworks 应用配置辅助开发插件
-
-为 [icejs](https://ice.work/)(& [rax-app](https://rax.js.org/)) 的配置类文件(build.json/app.json) 提供可视化表单设置或代码编辑提醒、校验等功能。并且为所有 json 类型的配置文件提供可视化编辑功能。
+# Iceworks Config Helper
-## 功能
-
-### 可视化表单设置
-
-通过可视化表单设置的方式对配置文件进行编辑。
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
+[](http://opensource.org/licenses/MIT)
-### 激活
+For [icejs](https://ice.work/)(& [rax-app](https://rax.js.org/)) configuration files(like app.json/build.json), provides visualization form setting or code editing reminder, verification and other features. It also provides visualization for all json files.
-#### 在侧边栏激活面板
+## Usage
-
+### Editing Config File Visually
-1. 在资源文件夹选择配置文件,点击鼠标右键
-2. 在右键列表中选择 `Iceworks: 可视化设置 xxx.json`
-3. 启动可视化配置面板
+Visually edit the configuration file through the palette.
-#### 在文档编辑器中激活面板
+### Activite
-
+#### Active In Side Bar
-1. 打开配置文件,点击鼠标右键
-2. 在右键列表中选择 `Iceworks: 可视化设置 xxx.json`
-3. 启动可视化配置面板
+
-或者:
+1. Right click on the configuration file in the sidebar and select `Iceworks: Setup xxx.json by visually.` to launch the visual editing panel
-点击标签栏右侧的搜索图标,启动可视化配置面板。
+#### Active In TextEditer
-### 演示
+
-
+1. Open the configuration file, right click `Iceworks: Setup xxx.json by visually.` to launch the visual editing panel
+2. Click the `Iceworks: Setup xxx.json by visually.` icon in the title bar and click it to launch the visual editing panel
-### 代码编辑辅助
+### Demo
-#### 悬停提示
+
-当您将鼠标悬停在某个 Json 的字段上时,会出现悬浮小部件显示字段的描述。
+### IntelliSense
-
+#### Hover Widget
-#### 自动补全
+Whenever you hover over some Json key, shows the description in a Hover widget.
-当您在输入时,显示与您的配置相关的建议。
+
-
+#### Code Completion
-#### 代码片段
+When you input it will show key suggestions related to your config.
-预设标准的代码片段,方便您进行快速配置。
+
-
+#### Snippets
-#### 显示源文件
+Use code snippets for quick configuration:
-在可视化面板中快速定位到源文件并进行代码编辑。
+
-
+#### Reveal Source File
-## 更多
+Quickly locate the source file of panel and open an editor of sourceFile.
-访问 [Iceworks 套件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)获取更多功能。
+
-## License
+## More
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+See the [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
diff --git a/extensions/iceworks-config-helper/README.zh-CN.md b/extensions/iceworks-config-helper/README.zh-CN.md
new file mode 100644
index 000000000..d05988071
--- /dev/null
+++ b/extensions/iceworks-config-helper/README.zh-CN.md
@@ -0,0 +1,72 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-config-helper/README.md)
+
+# Iceworks 应用配置辅助开发插件
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
+[](http://opensource.org/licenses/MIT)
+
+为 [icejs](https://ice.work/)(& [rax-app](https://rax.js.org/)) 的配置类文件(build.json/app.json) 提供可视化表单设置或代码编辑提醒、校验等功能。并且为所有 json 类型的配置文件提供可视化编辑功能。
+
+## 功能
+
+### 可视化表单设置
+
+通过可视化表单设置的方式对配置文件进行编辑。
+
+### 激活
+
+#### 在侧边栏激活面板
+
+
+
+1. 在资源文件夹选择配置文件,点击鼠标右键
+2. 在右键列表中选择 `Iceworks: 可视化设置 xxx.json`
+3. 启动可视化配置面板
+
+#### 在文档编辑器中激活面板
+
+
+
+1. 打开配置文件,点击鼠标右键
+2. 在右键列表中选择 `Iceworks: 可视化设置 xxx.json`
+3. 启动可视化配置面板
+
+或者:
+
+点击标签栏右侧的搜索图标,启动可视化配置面板。
+
+### 演示
+
+
+
+### 代码编辑辅助
+
+#### 悬停提示
+
+当您将鼠标悬停在某个 Json 的字段上时,会出现悬浮小部件显示字段的描述。
+
+
+
+#### 自动补全
+
+当您在输入时,显示与您的配置相关的建议。
+
+
+
+#### 代码片段
+
+预设标准的代码片段,方便您进行快速配置。
+
+
+
+#### 显示源文件
+
+在可视化面板中快速定位到源文件并进行代码编辑。
+
+
+
+## 更多
+
+访问 [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。
diff --git a/extensions/iceworks-config-helper/package.json b/extensions/iceworks-config-helper/package.json
index 7361ea6a3..754b1f58d 100644
--- a/extensions/iceworks-config-helper/package.json
+++ b/extensions/iceworks-config-helper/package.json
@@ -3,7 +3,7 @@
"displayName": "Iceworks Config Helper",
"description": "Easily write Config files in icejs(& rax-app)",
"publisher": "iceworks-team",
- "version": "0.3.1",
+ "version": "0.3.2",
"engines": {
"vscode": "^1.41.0"
},
diff --git a/extensions/iceworks-material-helper/CHANGELOG.md b/extensions/iceworks-material-helper/CHANGELOG.md
index a2364f131..76e4bfdf3 100644
--- a/extensions/iceworks-material-helper/CHANGELOG.md
+++ b/extensions/iceworks-material-helper/CHANGELOG.md
@@ -1,5 +1,9 @@
# Change Log
+## 0.3.1
+
+- docs: add more badges.
+
## 0.3.0
- feat: add Component Doc Helper
diff --git a/extensions/iceworks-material-helper/README.en.md b/extensions/iceworks-material-helper/README.en.md
deleted file mode 100644
index 7f1a4f6d0..000000000
--- a/extensions/iceworks-material-helper/README.en.md
+++ /dev/null
@@ -1,93 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
-
-# React Component Helper
-
-Use Component and Write Props easier in [JSX](https://reactjs.org/docs/introducing-jsx.html), friendly for React and [Rax](https://rax.js.org/).
-
-## Usage
-
-### Using Material
-
-#### Activate Material Panel
-
-
-
-1. Open vscode command palette through `Ctrl+Shift+P` or `⇧⌘P`.
-2. Enter `Iceworks: Import Material` to activate Material Panel.
-
-#### Use in Pages
-
-
-
-1. Click src/pages/*/index.tsx in the resource panel to open a page.
-2. Activate the Material Panel.
-3. Move cursor to a position for materials.
-4. Search the block materials, click the material to be used, and the material code will be automatically added to the corresponding position.
-5. Search for component materials. Click the material to be used, and the material code will be automatically added to the corresponding position.
-
-#### Use in Components
-
-
-
-1. Click src/components/*/index.tsx in the resource panel to open a page.
-2. Activate the material-import extension.
-3. Move cursor to a position for materials.
-4. Search for component materials. Click the material to be used, and the material code will be automatically added to the corresponding position.
-
-### Props Autocomplete
-
-When editing the props of a component in a JSX file, an automatic completion reminder will be given:
-
-
-
-1. Use materials in JSX files (such as View).
-2. Enter part of props in the material tag, it will arouse automatic completion.
-
-### Component Document Support
-
-#### Active
-
-
-
-1. Open vscode command palette through `Ctrl+Shift+P` or `⇧⌘P`.
-2. Enter `Iceworks: Import Material` to activate Material Panel.
-
-Or Active In Editor
-
-
-
-1. Right Clikc In a Jsx File Editor.
-2. Choose `Iceworks: Show Compoents Docs In Current File`.
-
-#### Component Document Support Usage
-
-
-
-1. Search the component label for the document you need to find
-2. Click the item that appears after activation
-3. Confirm to open component document link
-
-Or
-
-
-
-1. Move the mouse over the component label.
-2. Click the document link.
-3. Confirm to open copmonent document link
-
-#### Document Opening Mode
-
-
-
-You can choose whether to open the document link in VS Code, which depends on the extension [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview). If you want to open the document page in VS Code, install Browser Preview first.
-
-## More
-
-See the [Iceworks Pack](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks-material-helper/README.md b/extensions/iceworks-material-helper/README.md
index 2a64ed049..312beb263 100644
--- a/extensions/iceworks-material-helper/README.md
+++ b/extensions/iceworks-material-helper/README.md
@@ -1,91 +1,91 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-material-helper/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
-
-# React 组件开发辅助插件
+# React Component Helper
-在 [JSX](https://zh-hans.reactjs.org/docs/introducing-jsx.html) 中更快更好地添加组件、编写组件属性、查找组件文档,对 React 和 [Rax](https://rax.js.org/) 应用友好。
-
-## 功能
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[](http://opensource.org/licenses/MIT)
-### 使用物料
+Use Component and Write Props easier in [JSX](https://reactjs.org/docs/introducing-jsx.html), friendly for React and [Rax](https://rax.js.org/).
-> [什么是物料?](https://ice.work/docs/materials/about)
+## Usage
-#### 激活物料面板
+### Using Material
-
+#### Activate Material Panel
-1. 通过 `⇧⌘P` 或 `Ctrl+Shift+P` 快捷键唤醒命令面板
-2. 输入 `Iceworks: 使用物料` 激活物料添加面板
+
-#### 在页面中使用物料
+1. Open vscode command palette through `Ctrl+Shift+P` or `⇧⌘P`.
+2. Enter `Iceworks: Import Material` to activate Material Panel.
-
+#### Use in Pages
-1. 在资源面板中点击 src/pages/*/index.tsx 打开页面源码
-2. 激活物料添加面板
-3. 选择需要插入物料的代码位置
-4. 搜索区块,点击需要使用的区块,物料代码将自动添加到相应的位置中
-5. 搜索组件,点击需要使用的组件,物料代码将自动添加到相应的位置中
+
-#### 在组件中使用物料
+1. Click src/pages/*/index.tsx in the resource panel to open a page.
+2. Activate the Material Panel.
+3. Move cursor to a position for materials.
+4. Search the block materials, click the material to be used, and the material code will be automatically added to the corresponding position.
+5. Search for component materials. Click the material to be used, and the material code will be automatically added to the corresponding position.
-
+#### Use in Components
-1. 在资源面板中点击 src/components/*/index.tsx 打开页面源码
-2. 激活物料添加面板
-3. 选择需要插入物料的代码位置
-4. 搜索组件,点击需要使用的组件,物料代码将自动添加到相应的位置中
+
-### 组件文档搜索
+1. Click src/components/*/index.tsx in the resource panel to open a page.
+2. Activate the material-import extension.
+3. Move cursor to a position for materials.
+4. Search for component materials. Click the material to be used, and the material code will be automatically added to the corresponding position.
-#### 激活
+### Props Autocomplete
-通过命名面板激活:
+When editing the props of a component in a JSX file, an automatic completion reminder will be given:
-
+
-或者在 JSX 中通过鼠标右键激活:
+1. Use materials in JSX files (such as View).
+2. Enter part of props in the material tag, it will arouse automatic completion.
-
+### Component Document Support
-#### 使用
+#### Active
-
+
-1. 搜索您需要查找文档的组件名
-2. 点击组件名后,选择打开组件文档的方式
-3. 浏览文档
+1. Open vscode command palette through `Ctrl+Shift+P` or `⇧⌘P`.
+2. Enter `Iceworks: Import Material` to activate Material Panel.
-或者:
+Or Active In Editor
-
+
-1. 将鼠标悬停在需要查找文档的组件标签上
-2. 点击文档链接
-3. 浏览文档
+1. Right Clikc In a Jsx File Editor.
+2. Choose `Iceworks: Show Compoents Docs In Current File`.
-#### 文档浏览方式设置
+#### Component Document Support Usage
-
+
-您可以选择是否在 VS Code 浏览文档网页,这一功能依赖 [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview) 插件进行实现。 如果您希望在 VS Code 内部浏览文档,请先安装此插件。
+1. Search the component label for the document you need to find
+2. Click the item that appears after activation
+3. Confirm to open component document link
-### 组件属性自动补全
+Or
-在 JSX 文件中编辑组件的属性时将给予自动补全提醒:
+
-
+1. Move the mouse over the component label.
+2. Click the document link.
+3. Confirm to open copmonent document link
-1. 在 JSX 文件中使用组件(如 View )
-2. 在组件标签内输入属性的部分内容,将会激活自动补全提醒。
+#### Document Opening Mode
-## 更多
+
-访问 [Iceworks 套件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)获取更多功能。
+You can choose whether to open the document link in VS Code, which depends on the extension [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview). If you want to open the document page in VS Code, install Browser Preview first.
-## License
+## More
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+See the [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
diff --git a/extensions/iceworks-material-helper/README.zh-CN.md b/extensions/iceworks-material-helper/README.zh-CN.md
new file mode 100644
index 000000000..d24bf8758
--- /dev/null
+++ b/extensions/iceworks-material-helper/README.zh-CN.md
@@ -0,0 +1,89 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-material-helper/README.md)
+
+# React 组件开发辅助插件
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[](http://opensource.org/licenses/MIT)
+
+在 [JSX](https://zh-hans.reactjs.org/docs/introducing-jsx.html) 中更快更好地添加组件、编写组件属性、查找组件文档,对 React 和 [Rax](https://rax.js.org/) 应用友好。
+
+## 功能
+
+### 使用物料
+
+> [什么是物料?](https://ice.work/docs/materials/about)
+
+#### 激活物料面板
+
+
+
+1. 通过 `⇧⌘P` 或 `Ctrl+Shift+P` 快捷键唤醒命令面板
+2. 输入 `Iceworks: 使用物料` 激活物料添加面板
+
+#### 在页面中使用物料
+
+
+
+1. 在资源面板中点击 src/pages/*/index.tsx 打开页面源码
+2. 激活物料添加面板
+3. 选择需要插入物料的代码位置
+4. 搜索区块,点击需要使用的区块,物料代码将自动添加到相应的位置中
+5. 搜索组件,点击需要使用的组件,物料代码将自动添加到相应的位置中
+
+#### 在组件中使用物料
+
+
+
+1. 在资源面板中点击 src/components/*/index.tsx 打开页面源码
+2. 激活物料添加面板
+3. 选择需要插入物料的代码位置
+4. 搜索组件,点击需要使用的组件,物料代码将自动添加到相应的位置中
+
+### 组件文档搜索
+
+#### 激活
+
+通过命名面板激活:
+
+
+
+或者在 JSX 中通过鼠标右键激活:
+
+
+
+#### 使用
+
+
+
+1. 搜索您需要查找文档的组件名
+2. 点击组件名后,选择打开组件文档的方式
+3. 浏览文档
+
+或者:
+
+
+
+1. 将鼠标悬停在需要查找文档的组件标签上
+2. 点击文档链接
+3. 浏览文档
+
+#### 文档浏览方式设置
+
+
+
+您可以选择是否在 VS Code 浏览文档网页,这一功能依赖 [Browser Preview](https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview) 插件进行实现。 如果您希望在 VS Code 内部浏览文档,请先安装此插件。
+
+### 组件属性自动补全
+
+在 JSX 文件中编辑组件的属性时将给予自动补全提醒:
+
+
+
+1. 在 JSX 文件中使用组件(如 View )
+2. 在组件标签内输入属性的部分内容,将会激活自动补全提醒。
+
+## 更多
+
+访问 [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。
diff --git a/extensions/iceworks-material-helper/package.json b/extensions/iceworks-material-helper/package.json
index b7db59778..1ee66f89a 100644
--- a/extensions/iceworks-material-helper/package.json
+++ b/extensions/iceworks-material-helper/package.json
@@ -3,7 +3,7 @@
"displayName": "React Component Helper",
"description": "Easily use Component in React/Rax.",
"publisher": "iceworks-team",
- "version": "0.3.0",
+ "version": "0.3.1",
"main": "./build/extension.js",
"engines": {
"vscode": "^1.41.0"
diff --git a/extensions/iceworks-project-creator/CHANGELOG.md b/extensions/iceworks-project-creator/CHANGELOG.md
index 1ac1f3798..ad161c3ec 100644
--- a/extensions/iceworks-project-creator/CHANGELOG.md
+++ b/extensions/iceworks-project-creator/CHANGELOG.md
@@ -1,6 +1,8 @@
# Change Log
## 0.3.7
+
+- docs: add more badges.
- feat: support create pegasus project
## 0.3.6
diff --git a/extensions/iceworks-project-creator/README.en.md b/extensions/iceworks-project-creator/README.en.md
deleted file mode 100644
index 726b56177..000000000
--- a/extensions/iceworks-project-creator/README.en.md
+++ /dev/null
@@ -1,33 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
-
-# Iceworks Application Creator
-
-Create a Universal Application(React/Rax/Vue, etc) quickly.
-
-## Usage
-
-### Activate Extension
-
-
-
-1. Open vscode command palette through `Ctrl+Shift+P` or `⇧⌘P`.
-2. Enter `Iceworks: create Application` to activate the extension.
-
-### Create a new application
-
-
-
-1. Select a scaffold.
-2. Input your application Infomation.
-3. Create your application and open application automatically.
-
-## More
-
-See the [Iceworks Pack](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks-project-creator/README.md b/extensions/iceworks-project-creator/README.md
index 81bc9f407..28c3450ca 100644
--- a/extensions/iceworks-project-creator/README.md
+++ b/extensions/iceworks-project-creator/README.md
@@ -1,33 +1,31 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-project-creator/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
-
-# Iceworks 创建应用插件
+# Iceworks Application Creator
-快速创建多端应用(例如:React/Rax/Vue...)
-
-## 功能
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[](http://opensource.org/licenses/MIT)
-### 激活
+Create a Universal Application(React/Rax/Vue, etc) quickly.
-
+## Usage
-1. 通过 `⇧⌘P` 或 `Ctrl+Shift+P` 快捷键唤醒命令面板
-2. 输入 `Iceworks: createApplication` 激活插件
+### Activate Extension
-### 创建应用
+
-
+1. Open vscode command palette through `Ctrl+Shift+P` or `⇧⌘P`.
+2. Enter `Iceworks: create Application` to activate the extension.
-1. 选择模板
-2. 输入应用信息
-3. 创建应用并自动打开应用
+### Create a new application
-## 更多
+
-访问 [Iceworks 套件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)获取更多功能。
+1. Select a scaffold.
+2. Input your application Infomation.
+3. Create your application and open application automatically.
-## License
+## More
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+See the [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
diff --git a/extensions/iceworks-project-creator/README.zh-CN.md b/extensions/iceworks-project-creator/README.zh-CN.md
new file mode 100644
index 000000000..058fb7f4c
--- /dev/null
+++ b/extensions/iceworks-project-creator/README.zh-CN.md
@@ -0,0 +1,31 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-project-creator/README.md)
+
+# Iceworks 创建应用插件
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[](http://opensource.org/licenses/MIT)
+
+快速创建多端应用(例如:React/Rax/Vue...)
+
+## 功能
+
+### 激活
+
+
+
+1. 通过 `⇧⌘P` 或 `Ctrl+Shift+P` 快捷键唤醒命令面板
+2. 输入 `Iceworks: createApplication` 激活插件
+
+### 创建应用
+
+
+
+1. 选择模板
+2. 输入应用信息
+3. 创建应用并自动打开应用
+
+## 更多
+
+访问 [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。
diff --git a/extensions/iceworks-style-helper/CHANGELOG.md b/extensions/iceworks-style-helper/CHANGELOG.md
index 3c09565fb..d11f47280 100644
--- a/extensions/iceworks-style-helper/CHANGELOG.md
+++ b/extensions/iceworks-style-helper/CHANGELOG.md
@@ -1,11 +1,17 @@
# Change Log
+## 0.3.6
+
+- docs: add more badges.
+
## 0.3.5
+
- Update completionItem detail text.
- Update data recorder.
- Support build-plugin-fusion themePackage.
## 0.3.4
+
- Fix variables completions shown when edit css classes and style keys.
- Add data recorder.
diff --git a/extensions/iceworks-style-helper/README.en.md b/extensions/iceworks-style-helper/README.en.md
deleted file mode 100644
index 6871d0f3a..000000000
--- a/extensions/iceworks-style-helper/README.en.md
+++ /dev/null
@@ -1,86 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
-
-# Iceworks Style Helper
-
-Write styles easier in [JSX](https://reactjs.org/docs/introducing-jsx.html), provide a powerful auxiliary development functions in style files like CSS, SASS. Friendly for React and [Rax](https://rax.js.org/).
-
-## Usage
-
-### JSX
-
-When editing the 'style' attribute of a component in a JSX file, an automatic completion reminder will be given:
-
-#### Inline style
-
-Automatic completion for style keys and values according to W3C standards:
-
-
-
-##### Variable assignment
-
-When using CSS Module, automatic completion of style fields is carried out according to style declaration:
-
-
-
-### className
-
-Automatic completion, value previews, and defined jumps are given when editing the component's 'className' properties in the JSX file.
-
-#### Automatic completion
-
-According to the class selector in the style file 'import' , automatic completion will be provided when editing ‘className'.
-
-
-
-#### Value preview and define jump
-
-
-
-1. Hover over the 'className' value, and the hover board displays the style declaration corresponding to the value.
-2. Click the corresponding 'className' value to jump to the definition of the value.
-
-### Classname
-
-When editing the 'class' name of a CSS, LESS or SASS file, an automatic completion reminder will be given:
-
-
-
-1. Declare the value of the component 'className' property in JSX file like ` home, Text0, Text1, text2 `.
-2. Reference SASS files in JSX: 'import './index.scss''.
-3. step into the 'index.css' file.
-4. Enter ' . ' in ' index.css ' to get the auto-completion reminder of the above property values.
-
-### SASS
-
-#### Automatic completion When editing the variable
-
-When a variable is entered in an SASS file, code completion is provided based on the reference file
-
-
-
-#### Show the variable value when hover it
-
-
-
-#### Automatic completion When editing the colors and attributes
-
-When the attribute value is entered, if it is found that variables can be replaced as standard value, variable replacement suggestions will appear:
-
-
-
-#### variable identifier and link
-
-Use `cmd + click` (Windows: `ctrl + click`) jump to the variable identifier under the cursor.
-
-ß
-
-## More
-
-See the [Iceworks Pack](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks-style-helper/README.md b/extensions/iceworks-style-helper/README.md
index deb84ae33..b60c2dc0e 100644
--- a/extensions/iceworks-style-helper/README.md
+++ b/extensions/iceworks-style-helper/README.md
@@ -1,91 +1,84 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-style-helper/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
-
-# Iceworks 样式开发辅助插件
-
-方便您在 [JSX](https://zh-hans.reactjs.org/docs/introducing-jsx.html) 中更快速地编写内联样式,并对 CSS 、SASS 等样式文件提供强大的辅助开发功能。对 React 和 [Rax](https://rax.js.org/) 应用友好。
-
-## 用法
+# Iceworks Style Helper
-### JSX 文件
-
-#### style 属性
-
-在 JSX 文件中编辑组件的 `style` 属性时给予自动补全提醒。
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[](http://opensource.org/licenses/MIT)
-##### 行内样式
+Write styles easier in [JSX](https://reactjs.org/docs/introducing-jsx.html), provide a powerful auxiliary development functions in style files like CSS, SASS. Friendly for React and [Rax](https://rax.js.org/).
-根据 w3c 标准给予样式字段和值的自动补全提醒:
+## Usage
-
+### JSX
-##### 变量赋值
+When editing the 'style' attribute of a component in a JSX file, an automatic completion reminder will be given:
-使用 CSS Module 时,根据样式声明进行样式字段的自动补全:
+#### Inline style
-
+Automatic completion for style keys and values according to W3C standards:
-#### className 属性
+
-在 JSX 文件中编辑组件的 `className` 属性时给予自动补全提醒,值预览及定义跳转。
+##### Variable assignment
-##### 自动补全提醒
+When using CSS Module, automatic completion of style fields is carried out according to style declaration:
-在编辑组件的 `className` 时,根据文件 `import` 的样式文件内的类选择器进行自动补全提醒。
+
-
+### className
-##### 值预览及定义跳转
+Automatic completion, value previews, and defined jumps are given when editing the component's 'className' properties in the JSX file.
-
+#### Automatic completion
-1. 鼠标停留在 `className` 值上,出现悬浮部件显示该值对应的样式声明
+According to the class selector in the style file 'import' , automatic completion will be provided when editing ‘className'.
-2. 点击对应的 `className` 值,跳转到该值的定义处
+
-### 样式文件
+#### Value preview and define jump
-在 CSS、LESS、SASS 文件中输入类选择器时,根据引用值进行自动补全提醒:
+
-
+1. Hover over the 'className' value, and the hover board displays the style declaration corresponding to the value.
+2. Click the corresponding 'className' value to jump to the definition of the value.
-1. 在 JSX 内声明组件 `className` 属性的值为 ` home , text0 , text1 , text2 `
-2. 在 JSX 内引用样式文件:`import './index.scss'`
-3. 新建该 `index.css` 文件
-4. 在 `index.css` 内输入 `.` ,出现上述属性值的自动补全提醒
+### Classname
-### SASS 文件
+When editing the 'class' name of a CSS, LESS or SASS file, an automatic completion reminder will be given:
-#### 变量自动补全提醒
+
-在 SASS 文件内输入变量时,根据引用文件进行代码自动补全:
+1. Declare the value of the component 'className' property in JSX file like ` home, Text0, Text1, text2 `.
+2. Reference SASS files in JSX: 'import './index.scss''.
+3. step into the 'index.css' file.
+4. Enter ' . ' in ' index.css ' to get the auto-completion reminder of the above property values.
-
+### SASS
-#### 变量预览值
+#### Automatic completion When editing the variable
-鼠标停留在变量上,出现悬浮部件显示该变量对应的值:
+When a variable is entered in an SASS file, code completion is provided based on the reference file
-
+
-#### 属性值使用变量替换的建议
+#### Show the variable value when hover it
-输入属性值时,如发现可使用变量进行替换,则出现变量替换提醒列表:
+
-
+#### Automatic completion When editing the colors and attributes
-#### 变量的定义跳转
+When the attribute value is entered, if it is found that variables can be replaced as standard value, variable replacement suggestions will appear:
-通过 cmd + 点击( Windows: ctrl + 点击 )进行变量的定义代码跳转:
+
-
+#### variable identifier and link
-## 更多
+Use `cmd + click` (Windows: `ctrl + click`) jump to the variable identifier under the cursor.
-访问 [Iceworks 套件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)获取更多功能。
+ß
-## License
+## More
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+See the [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
diff --git a/extensions/iceworks-style-helper/README.zh-CN.md b/extensions/iceworks-style-helper/README.zh-CN.md
new file mode 100644
index 000000000..d9f660c50
--- /dev/null
+++ b/extensions/iceworks-style-helper/README.zh-CN.md
@@ -0,0 +1,89 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-style-helper/README.md)
+
+# Iceworks 样式开发辅助插件
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[](http://opensource.org/licenses/MIT)
+
+方便您在 [JSX](https://zh-hans.reactjs.org/docs/introducing-jsx.html) 中更快速地编写内联样式,并对 CSS 、SASS 等样式文件提供强大的辅助开发功能。对 React 和 [Rax](https://rax.js.org/) 应用友好。
+
+## 用法
+
+### JSX 文件
+
+#### style 属性
+
+在 JSX 文件中编辑组件的 `style` 属性时给予自动补全提醒。
+
+##### 行内样式
+
+根据 w3c 标准给予样式字段和值的自动补全提醒:
+
+
+
+##### 变量赋值
+
+使用 CSS Module 时,根据样式声明进行样式字段的自动补全:
+
+
+
+#### className 属性
+
+在 JSX 文件中编辑组件的 `className` 属性时给予自动补全提醒,值预览及定义跳转。
+
+##### 自动补全提醒
+
+在编辑组件的 `className` 时,根据文件 `import` 的样式文件内的类选择器进行自动补全提醒。
+
+
+
+##### 值预览及定义跳转
+
+
+
+1. 鼠标停留在 `className` 值上,出现悬浮部件显示该值对应的样式声明
+
+2. 点击对应的 `className` 值,跳转到该值的定义处
+
+### 样式文件
+
+在 CSS、LESS、SASS 文件中输入类选择器时,根据引用值进行自动补全提醒:
+
+
+
+1. 在 JSX 内声明组件 `className` 属性的值为 ` home , text0 , text1 , text2 `
+2. 在 JSX 内引用样式文件:`import './index.scss'`
+3. 新建该 `index.css` 文件
+4. 在 `index.css` 内输入 `.` ,出现上述属性值的自动补全提醒
+
+### SASS 文件
+
+#### 变量自动补全提醒
+
+在 SASS 文件内输入变量时,根据引用文件进行代码自动补全:
+
+
+
+#### 变量预览值
+
+鼠标停留在变量上,出现悬浮部件显示该变量对应的值:
+
+
+
+#### 属性值使用变量替换的建议
+
+输入属性值时,如发现可使用变量进行替换,则出现变量替换提醒列表:
+
+
+
+#### 变量的定义跳转
+
+通过 cmd + 点击( Windows: ctrl + 点击 )进行变量的定义代码跳转:
+
+
+
+## 更多
+
+访问 [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。
diff --git a/extensions/iceworks-style-helper/package.json b/extensions/iceworks-style-helper/package.json
index b5779a6e7..5c06d0e21 100644
--- a/extensions/iceworks-style-helper/package.json
+++ b/extensions/iceworks-style-helper/package.json
@@ -3,7 +3,7 @@
"displayName": "React Style Helper",
"description": "Easily write styles(CSS/Less/SASS).",
"publisher": "iceworks-team",
- "version": "0.3.5",
+ "version": "0.3.6",
"engines": {
"vscode": "^1.41.0"
},
diff --git a/extensions/iceworks-ui-builder/CHANGELOG.md b/extensions/iceworks-ui-builder/CHANGELOG.md
index 48e922de0..a7aa37ab0 100644
--- a/extensions/iceworks-ui-builder/CHANGELOG.md
+++ b/extensions/iceworks-ui-builder/CHANGELOG.md
@@ -1,5 +1,9 @@
# Change Log
+## 0.1.6
+
+- docs: add more badges.
+
## 0.1.5
- fix: build error
diff --git a/extensions/iceworks-ui-builder/README.en.md b/extensions/iceworks-ui-builder/README.en.md
deleted file mode 100644
index 69002bf4e..000000000
--- a/extensions/iceworks-ui-builder/README.en.md
+++ /dev/null
@@ -1,72 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
-
-# Iceworks UI Builder
-
-Build UI by low-code way.
-
-## Generate Page
-
-Through GUI, you can quickly assemble pages with materials.
-
-### Activate
-
-
-
-1. Open vscode command palette by `Ctrl+Shift+P` or `⇧⌘P` .
-2. In the command palette, type 'Iceworks: Generate page' and click on the selected item or press enter on the keyboard to evoke page-builder extension.
-
-### Usage
-
-
-
-1. Enter the page name (to be used as the folder name).
-2. Select the block to be used for the page from the block list on the right, click to add it to the page preview area on the left.
-3. Rearrange blocks by dragging and dropping the order of the blocks in the left page preview area, or delete blocks by clicking icons in the upper right corner.
-4. Click `Generate page` button to generate page code. The page code will be generated into 'src /pages/'
-
-## Create Component
-
-Iceworks provides a huge amount of high-quality materials for React and [Rax](https://rax.js.org/) apps that can be added to your app with one click.
-
-### Activate
-
-
-
-1. Through (Ctrl+Shift+P or ⇧⌘P) evoke vscode command palette
-2. In the vscode command palette, enter 'Iceworks: Create component', click the selected item or press enter to arouse the plugin;
-
-### Usage
-
-
-
-1. Fill in the component name (also the folder name of the componenent)
-2. Select a material below.
-3. Click `Create component` button to generate component code.
-
-## Generate Component
-
-Generate components in a visual way.
-
-### Activate
-
-
-
-- Activate vscode command palette by `⇧⌘P` (MacOS) or `Ctrl+Shift+p` (Windows), and input `Iceworks: Generate Component` to activate the extension.
-
-### Usage
-
-
-
-1. Drag the components in the left to the middle panel.
-2. Press `⌘+S` (MacOS) or `Ctrl+S` (Windows), input the name of the component and then press Enter to generate component.
-
-## More
-
-See the [Iceworks Pack](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks-ui-builder/README.md b/extensions/iceworks-ui-builder/README.md
index 136075362..ae37de517 100644
--- a/extensions/iceworks-ui-builder/README.md
+++ b/extensions/iceworks-ui-builder/README.md
@@ -1,74 +1,70 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-ui-builder/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
-
-# Iceworks 可视化搭建插件
-
-使用可视化搭建的方式创建用户界面。
+# Iceworks UI Builder
-## 生成页面
-
-通过可视化操作,以区块拼装的方式快速生成页面。
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[](http://opensource.org/licenses/MIT)
-### 激活
+Build UI by low-code way.
-
+## Generate Component
-1. 通过 `⇧⌘P` 或 `Ctrl+Shift+P` 快捷键唤醒命令面板
-2. 在命令面板中输入 `Iceworks: 生成页面` ,点击选中的项目或按下键盘回车键,激活页面生成插件
+Generate components in a visual way.
-### 使用
+### Activate
-
+
-1. 输入页面名称(将用作文件夹名)
-2. 从右侧的区块列表中选择页面需要使用的区块,点击添加到左侧页面预览区
-3. 在左侧页面预览区可通过拖拽排序区块的顺序,或点击右上角的删除图标移除区块
-4. 点击“生成页面”按钮,生成页面代码,页面代码将生成到 `src/pages/` 目录下
+- Activate vscode command palette by `⇧⌘P` (MacOS) or `Ctrl+Shift+p` (Windows), and input `Iceworks: Generate Component` to activate the extension.
-## 创建组件
+### Usage
-通过物料快速创建前端组件。
+
-### 激活
+1. Drag the components in the left to the middle panel.
+2. Press `⌘+S` (MacOS) or `Ctrl+S` (Windows), input the name of the component and then press Enter to generate component.
-
+## Generate Page
-1. 通过 `⇧⌘P` ( MacOS ) 或 `Ctrl+Shift+p` ( Windows ) 快捷键唤起命令面板;
-2. 输入 `Iceworks: 创建组件` ,点击选中的项目或按下键盘回车键,激活插件
+Through GUI, you can quickly assemble pages with materials.
-### 使用
+### Activate
-Iceworks 为 React 和 [Rax](https://rax.js.org/) 应用提供了海量的高质量物料,可一键添加到您的应用中。
+
-
+1. Open vscode command palette by `Ctrl+Shift+P` or `⇧⌘P` .
+2. In the command palette, type 'Iceworks: Generate page' and click on the selected item or press enter on the keyboard to evoke page-builder extension.
-1. 填写组件名(同时也是组件所在文件夹的名称);
-2. 组件名输入框下方选择一个使用的区块;
-3. 点击 `创建组件` 按钮,生成组件代码。
+### Usage
-## 生成组件
+
-通过可视化搭建的方式生成组件
+1. Enter the page name (to be used as the folder name).
+2. Select the block to be used for the page from the block list on the right, click to add it to the page preview area on the left.
+3. Rearrange blocks by dragging and dropping the order of the blocks in the left page preview area, or delete blocks by clicking icons in the upper right corner.
+4. Click `Generate page` button to generate page code. The page code will be generated into 'src /pages/'
-### 激活
+## Create Component
-
+Iceworks provides a huge amount of high-quality materials for React and [Rax](https://rax.js.org/) apps that can be added to your app with one click.
-通过 `⇧⌘P` ( MacOS ) 或 `Ctrl+Shift+p` ( Windows ) 快捷键唤起命令面板,输入 `Iceworks: 生成组件` ,激活插件。
+### Activate
-### 使用
+
-
+1. Through (Ctrl+Shift+P or ⇧⌘P) evoke vscode command palette
+2. In the vscode command palette, enter 'Iceworks: Create component', click the selected item or press enter to arouse the plugin;
-1. 拖拽左侧的组件到中间的画布面板中;
-2. 按下 `⌘+S` ( MacOS ) 或 `Ctrl+S` ( Windows ) ,在输入框中填写组件名,按下回车键即可生成组件到项目中。
+### Usage
-## 更多
+
-访问 [Iceworks 套件](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)获取更多功能。
+1. Fill in the component name (also the folder name of the componenent)
+2. Select a material below.
+3. Click `Create component` button to generate component code.
-## License
+## More
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+See the [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) to know more features.
diff --git a/extensions/iceworks-ui-builder/README.zh-CN.md b/extensions/iceworks-ui-builder/README.zh-CN.md
new file mode 100644
index 000000000..a7b18c9d2
--- /dev/null
+++ b/extensions/iceworks-ui-builder/README.zh-CN.md
@@ -0,0 +1,72 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-ui-builder/README.md)
+
+# Iceworks 可视化搭建插件
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[](http://opensource.org/licenses/MIT)
+
+使用可视化搭建的方式创建用户界面。
+
+## 可视化搭建组件
+
+通过可视化搭建的方式生成组件代码。
+
+### 激活
+
+
+
+通过 `⇧⌘P` ( MacOS ) 或 `Ctrl+Shift+p` ( Windows ) 快捷键唤起命令面板,输入 `Iceworks: 生成组件` ,激活插件。
+
+### 使用
+
+
+
+1. 拖拽左侧的组件到中间的画布面板中;
+2. 按下 `⌘+S` ( MacOS ) 或 `Ctrl+S` ( Windows ) ,在输入框中填写组件名,按下回车键即可生成组件到项目中。
+
+## 拼接区块组装页面
+
+通过可视化操作,以区块拼装的方式快速生成页面。
+
+### 激活
+
+
+
+1. 通过 `⇧⌘P` 或 `Ctrl+Shift+P` 快捷键唤醒命令面板
+2. 在命令面板中输入 `Iceworks: 生成页面` ,点击选中的项目或按下键盘回车键,激活页面生成插件
+
+### 使用
+
+
+
+1. 输入页面名称(将用作文件夹名)
+2. 从右侧的区块列表中选择页面需要使用的区块,点击添加到左侧页面预览区
+3. 在左侧页面预览区可通过拖拽排序区块的顺序,或点击右上角的删除图标移除区块
+4. 点击“生成页面”按钮,生成页面代码,页面代码将生成到 `src/pages/` 目录下
+
+## 下载远程物料到本地
+
+通过选择物料快速创建前端组件。
+
+### 激活
+
+
+
+1. 通过 `⇧⌘P` ( MacOS ) 或 `Ctrl+Shift+p` ( Windows ) 快捷键唤起命令面板;
+2. 输入 `Iceworks: 创建组件` ,点击选中的项目或按下键盘回车键,激活插件
+
+### 使用
+
+Iceworks 为 React 和 [Rax](https://rax.js.org/) 应用提供了海量的高质量物料,可一键添加到您的应用中。
+
+
+
+1. 填写组件名(同时也是组件所在文件夹的名称);
+2. 组件名输入框下方选择一个使用的区块;
+3. 点击 `创建组件` 按钮,生成组件代码。
+
+## 更多
+
+访问 [Iceworks](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks) 获取更多功能。
diff --git a/extensions/iceworks-ui-builder/package.json b/extensions/iceworks-ui-builder/package.json
index 7bc852472..10c04c703 100644
--- a/extensions/iceworks-ui-builder/package.json
+++ b/extensions/iceworks-ui-builder/package.json
@@ -3,7 +3,7 @@
"displayName": "Iceworks UI Builder",
"description": "Build UI by low-code way",
"publisher": "iceworks-team",
- "version": "0.1.5",
+ "version": "0.1.6",
"engines": {
"vscode": "^1.41.0"
},
diff --git a/extensions/iceworks/CHANGELOG.md b/extensions/iceworks/CHANGELOG.md
index 8a6892238..812efefd7 100644
--- a/extensions/iceworks/CHANGELOG.md
+++ b/extensions/iceworks/CHANGELOG.md
@@ -1,5 +1,9 @@
# Change Log
+## 0.7.0
+
+- docs: add more badges
+
## 0.6.0
- docs: update slogan
diff --git a/extensions/iceworks/README.en.md b/extensions/iceworks/README.en.md
deleted file mode 100644
index 764ed6c90..000000000
--- a/extensions/iceworks/README.en.md
+++ /dev/null
@@ -1,37 +0,0 @@
-English | [简体中文](./README.md)
-
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
-
-# Iceworks Pack
-
-Universal Application Development Pack based on [icejs](https://ice.work/)(& [rax-app](https://rax.js.org/)) framework, provide visualization and intelligent technology to build Universal Application.
-
-## Extensions
-
-Includes following feature:
-
-- [Application Viewer](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app): Quick to view and build your Universal Application
-- [Application Creator](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator): Quick to create a new Universal Application
-- [UI Builder](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder): Build UI by low-code way
-- [React Style Helper](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper):Auto completion reminder for writing inline style in [JSX](https://reactjs.org/docs/introducing-jsx.html)
-- [React Component Helper](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper):Use Component and Write Props easier in [JSX](https://reactjs.org/docs/introducing-jsx.html)
-- [Config Helper](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper):For icejs(& rax-app) configuration files(like app.json/build.json), provides visualization form setting or code editing reminder, verification and other features.
-
-## Quick start
-
-Setp 1: Click "Iceworks Icon" on the **Activity Bar** to open the **Iceworks Side Bar**:
-
-
-
-Setp 2: After the application is created, NPM script execution/page creation/component creation and other operations are performed in **Iceworks Side Bar**:
-
-
-
-Setp 3: More features can be obtained by search 'Iceworks' in the Command Panel or click "Iceworks button" on the Status Bar:
-
-
-
-## License
-
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
diff --git a/extensions/iceworks/README.md b/extensions/iceworks/README.md
index e226c8e08..dae3edf3d 100644
--- a/extensions/iceworks/README.md
+++ b/extensions/iceworks/README.md
@@ -1,37 +1,37 @@
-简体中文 | [English](./README.en.md)
+English | [简体中文](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks/README.zh-CN.md)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
-[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
-
-# Iceworks 套件
+# Iceworks
-> 基于 [icejs](https://ice.work/)(& [rax-app](https://rax.js.org/)) 框架的多端研发套件,提供可视化和智能化技术构建多端应用。
-
-## 插件列表
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
+[](http://opensource.org/licenses/MIT)
-包含以下功能:
+Iceworks is a Visual Intelligent Development Assistant, provide visualization and intelligent technology to build Universal Application faster and better.
-- [应用大纲树](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app):从框架视角全面预览您应用的组织
-- [创建应用](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator):通过图像界面引导创建多端应用
-- [可视化搭建](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder):通过可视化操作生成用户界面
-- [样式开发辅助](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper):提供在 [JSX](https://zh-hans.reactjs.org/docs/introducing-jsx.html) 内编写行内样式或使用 SASS/Less 等 CSS 预处理语言的代码编辑提醒
-- [组件开发辅助](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper):在 [JSX](https://zh-hans.reactjs.org/docs/introducing-jsx.html) 内更快更好地添加组件、编写组件属性,
-- [应用配置开发辅助](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper):为应用的配置类文件提供可视化表单设置或代码编辑提醒、校验等功能
+## Quick start
-## 快速使用
+Click "Iceworks Icon" on the **Activity Bar** to open the **Iceworks Side Bar**:
-**第一步**:点击活动栏上的 Iceworks 图标,打开侧边栏和创建应用流程:
+
-
+After the application is created, NPM script execution/page creation/component creation and other operations are performed in **Iceworks Side Bar**:
-**第二步**:应用创建完成,在 Iceworks 侧边栏上进行 npm 脚本执行、生成页面、创建组件等操作:
+
-
+More features can be obtained by search 'Iceworks' in the Command Panel or click "Iceworks button" on the Status Bar:
-**第三步**:更多功能,可以点击状态栏右下角的「Iceworks」进行获取:
+
-
+## Extensions
-## License
+Iceworks Pack extension installs these extensions:
-[MIT](https://github.com/ice-lab/iceworks/blob/master/LICENSE)
+Extension | Description | State
+--------- | ------- | ---------
+[Application Viewer](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app) | Quick to view and build your Universal Application |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[Application Creator](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator) | Quick to create a new Universal Application |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[UI Builder](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder) | Build UI by visual way |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[React Style Helper](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper) | Auto completion reminder for writing inline style in [JSX](https://reactjs.org/docs/introducing-jsx.html) |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[React Component Helper](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper) | Use Component and Write Props easier in [JSX](https://reactjs.org/docs/introducing-jsx.html) |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[Config Helper](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper) | For configuration files(like *.json), provides visualization form setting or code editing reminder, verification and other features. |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
diff --git a/extensions/iceworks/README.zh-CN.md b/extensions/iceworks/README.zh-CN.md
new file mode 100644
index 000000000..acf161004
--- /dev/null
+++ b/extensions/iceworks/README.zh-CN.md
@@ -0,0 +1,37 @@
+简体中文 | [English](https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks/README.md)
+
+# Iceworks
+
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
+[](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks)
+[](http://opensource.org/licenses/MIT)
+
+可视化智能开发助手,通过可视化编程和智能辅助手段,更快更好地构建多端应用。
+
+## 快速开始
+
+点击活动栏上的 Iceworks 图标,打开侧边栏和创建应用流程:
+
+
+
+应用创建完成,在 Iceworks 侧边栏上进行 npm 脚本执行、创建组件、生成页面等操作:
+
+
+
+更多功能,可以点击状态栏右下角的「Iceworks」进行获取:
+
+
+
+## 插件列表
+
+Iceworks 套件内包含以下插件:
+
+插件 | 简介 | 徽标
+--------- | ------- | ---------
+[应用概览](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app) | 从 UI 视角全面预览应用的组织 |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-app)
+[创建应用](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator) | 通过图像界面引导创建多端应用 |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-project-creator)
+[可视化搭建](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder) | 通过可视化操作生成用户界面 |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-ui-builder)
+[样式开发辅助](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper) | 提供在 JSX 内编写行内样式或使用 SASS/Less 等 CSS 预处理语言的代码编辑智能辅助 |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-style-helper)
+[组件开发辅助](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper) | 在 JSX 内更快更好地添加组件、编写组件属性 |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-material-helper)
+[应用配置开发辅助](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper) | 为应用的配置类文件(例如 *.json)提供可视化表单设置或代码编辑提醒、校验等功能 |  [](https://marketplace.visualstudio.com/items?itemName=iceworks-team.iceworks-config-helper)
diff --git a/extensions/iceworks/package.json b/extensions/iceworks/package.json
index d5cd4e93c..374575cf8 100644
--- a/extensions/iceworks/package.json
+++ b/extensions/iceworks/package.json
@@ -1,24 +1,31 @@
{
"name": "iceworks",
"displayName": "Iceworks",
- "description": "Universal Application Development Pack based on icejs(& rax-app) framework, provide visualization and intelligent technology to build Universal Application.",
+ "description": "Visual Intelligent Development Assistant, provide visualization and intelligent technology to build Universal Application faster and better.",
"publisher": "iceworks-team",
- "version": "0.6.0",
+ "version": "0.7.0",
"engines": {
"vscode": "^1.41.0"
},
"categories": [
- "Extension Packs"
+ "Extension Packs",
+ "Programming Languages",
+ "Visualization",
+ "Debuggers",
+ "Notebooks"
],
"keywords": [
+ "React",
+ "Low Code",
+ "Visual",
+ "Intelli Code",
+ "AI",
+ "Autocomplete",
+ "JavaScript",
+ "TypeScript",
"ICE",
"Rax",
- "React",
- "Low-code",
- "lowcode",
- "visual",
- "IntelliCode",
- "AI"
+ "小程序"
],
"repository": {
"type": "git",
diff --git a/scripts/extension-docs-check.ts b/scripts/extension-docs-check.ts
index 572612e60..8240ba3e6 100644
--- a/scripts/extension-docs-check.ts
+++ b/scripts/extension-docs-check.ts
@@ -3,8 +3,8 @@ import * as path from 'path';
import * as fse from 'fs-extra';
const EXTENSION_PATH = path.join(__dirname, '../extensions');
-const ZHCN_DOC = 'README.md';
-const I18N_DOC = 'README.en.md';
+const ZHCN_DOC = 'README.zh-CN.md';
+const I18N_DOC = 'README.md';
const DOCS = [];
// 加载所有docs
diff --git a/yarn.lock b/yarn.lock
index 53c63cc8b..df4038b45 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1433,7 +1433,7 @@
resolved "https://registry.npm.taobao.org/@icedesign/skin/download/@icedesign/skin-0.1.14.tgz#be8e62f467a5a2eabe79f54de23b0925e830dae2"
integrity sha1-vo5i9Gelouq+efVN4jsJJegw2uI=
-"@iceworks/code-generator@^0.1.0":
+"@iceworks/code-generator@^0.1.2":
version "0.1.2"
resolved "https://registry.npm.taobao.org/@iceworks/code-generator/download/@iceworks/code-generator-0.1.2.tgz?cache=0&sync_timestamp=1597288372252&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40iceworks%2Fcode-generator%2Fdownload%2F%40iceworks%2Fcode-generator-0.1.2.tgz#92361b3535c00df48de941dc9aec60a2cbca66dc"
integrity sha1-kjYbNTXADfSN6UHcmuxgosvKZtw=
From e0fd98d5c5381d51f99825e9f5fc2fe507b81198 Mon Sep 17 00:00:00 2001
From: Hengchang Lu <44047106+luhc228@users.noreply.github.com>
Date: Thu, 20 Aug 2020 11:20:23 +0800
Subject: [PATCH 06/13] feat: quick entries in tree view (#446)
* feat: support quick entry in tree view
* feat: update entry icon
* feat: add start icon
* chore: verison
* fix: comment
---
extensions/iceworks-app/CHANGELOG.md | 1 +
extensions/iceworks-app/assets/dark/entry.svg | 1 +
.../iceworks-app/assets/light/entry.svg | 1 +
extensions/iceworks-app/package.json | 34 ++++++---
extensions/iceworks-app/package.nls.json | 2 +
.../iceworks-app/package.nls.zh-cn.json | 2 +
extensions/iceworks-app/src/constants.ts | 56 ++++++++++++++-
extensions/iceworks-app/src/extension.ts | 7 +-
.../iceworks-app/src/locales/en-US.json | 44 ++++++------
.../iceworks-app/src/locales/zh-CN.json | 44 ++++++------
.../quickPicks/showAddComponentQuickPick.ts | 8 +--
.../src/quickPicks/showEntriesQuickPick.ts | 18 +++++
.../src/quickPicks/showExtensionsQuickPick.ts | 71 -------------------
.../src/views/quickEntriesView.ts | 60 ++++++++++++++++
14 files changed, 218 insertions(+), 131 deletions(-)
create mode 100644 extensions/iceworks-app/assets/dark/entry.svg
create mode 100644 extensions/iceworks-app/assets/light/entry.svg
create mode 100644 extensions/iceworks-app/src/quickPicks/showEntriesQuickPick.ts
delete mode 100644 extensions/iceworks-app/src/quickPicks/showExtensionsQuickPick.ts
create mode 100644 extensions/iceworks-app/src/views/quickEntriesView.ts
diff --git a/extensions/iceworks-app/CHANGELOG.md b/extensions/iceworks-app/CHANGELOG.md
index 412648644..04caaf3f1 100644
--- a/extensions/iceworks-app/CHANGELOG.md
+++ b/extensions/iceworks-app/CHANGELOG.md
@@ -2,6 +2,7 @@
## 0.4.6
- Support pegasus project debugger.
+- feat: add quick entries in tree view.
## 0.4.5
- feat: add component-generator and component-creator quickPick.
diff --git a/extensions/iceworks-app/assets/dark/entry.svg b/extensions/iceworks-app/assets/dark/entry.svg
new file mode 100644
index 000000000..34e02dc38
--- /dev/null
+++ b/extensions/iceworks-app/assets/dark/entry.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/extensions/iceworks-app/assets/light/entry.svg b/extensions/iceworks-app/assets/light/entry.svg
new file mode 100644
index 000000000..67e6c05c6
--- /dev/null
+++ b/extensions/iceworks-app/assets/light/entry.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/extensions/iceworks-app/package.json b/extensions/iceworks-app/package.json
index 928d552ad..40a650ee2 100644
--- a/extensions/iceworks-app/package.json
+++ b/extensions/iceworks-app/package.json
@@ -36,9 +36,13 @@
"iceworksApp": [
{
"id": "welcome",
- "name": "",
+ "name": "Welcome",
"when": "iceworks:isNotTargetProject"
},
+ {
+ "id": "quickEntries",
+ "name": "%iceworksApp.view.quickEntries.name%"
+ },
{
"id": "npmScripts",
"name": "%iceworksApp.view.npmScripts.name%",
@@ -66,6 +70,10 @@
"view": "welcome",
"contents": "%iceworksApp.viewsWelcome.welcome.contents%"
},
+ {
+ "view": "quickEntries",
+ "contents": ""
+ },
{
"view": "npmScripts",
"contents": "%iceworksApp.viewsWelcome.npmScripts.contents%"
@@ -100,6 +108,14 @@
"dark": "assets/dark/publish.svg"
}
},
+ {
+ "command": "iceworksApp.quickEntries.start",
+ "title": "%iceworksApp.command.quickEntries.start.title%",
+ "icon": {
+ "light": "assets/light/run.svg",
+ "dark": "assets/dark/run.svg"
+ }
+ },
{
"command": "iceworksApp.npmScripts.refresh",
"title": "%iceworksApp.command.npmScripts.refresh.title%",
@@ -274,20 +290,15 @@
"group": "navigation@01",
"when": "iceworks:showScriptIconInEditorTitleMenu"
},
- {
- "command": "iceworksApp.editorMenu.DefPublish",
- "group": "navigation@02",
- "when": "iceworks:showScriptIconInEditorTitleMenu && iceworks:isAliInternal"
- },
{
"command": "iceworksApp.editorMenu.runBuild",
"group": "navigation@02",
- "when": "iceworks:showScriptIconInEditorTitleMenu && !iceworks:isAliInternal"
+ "when": "iceworks:showScriptIconInEditorTitleMenu"
},
{
- "command": "iceworksApp.configHelper.start",
+ "command": "iceworksApp.editorMenu.DefPublish",
"group": "navigation@03",
- "when": "iceworks:showScriptIconInEditorTitleMenu"
+ "when": "iceworks:showScriptIconInEditorTitleMenu && iceworks:isAliInternal"
}
],
"view/title": [
@@ -333,6 +344,11 @@
}
],
"view/item/context": [
+ {
+ "command": "iceworksApp.quickEntries.start",
+ "when": "view == quickEntries && viewItem == quickEntry",
+ "group": "inline"
+ },
{
"command": "iceworksApp.npmScripts.run",
"when": "view == npmScripts && viewItem == script",
diff --git a/extensions/iceworks-app/package.nls.json b/extensions/iceworks-app/package.nls.json
index 123740975..7a63af2ee 100644
--- a/extensions/iceworks-app/package.nls.json
+++ b/extensions/iceworks-app/package.nls.json
@@ -1,4 +1,5 @@
{
+ "iceworksApp.view.quickEntries.name": "Quick Entries",
"iceworksApp.view.npmScripts.name": "npm Scripts",
"iceworksApp.view.pages.name": "Pages",
"iceworksApp.view.components.name": "Components",
@@ -10,6 +11,7 @@
"iceworksApp.viewsWelcome.nodeDependencies.contents": "Node dependencies could not be found in package.json.",
"iceworksApp.command.configHelper.start.title": "Iceworks: Settings",
"iceworksApp.command.DefPublish.title": "Iceworks: Def Publish",
+ "iceworksApp.command.quickEntries.start.title": "Start",
"iceworksApp.command.npmScripts.refresh.title": "Refresh",
"iceworksApp.command.npmScripts.run.title": "Run Script",
"iceworksApp.command.npmScripts.stop.title": "Stop Script",
diff --git a/extensions/iceworks-app/package.nls.zh-cn.json b/extensions/iceworks-app/package.nls.zh-cn.json
index dc812a896..cfb52590c 100644
--- a/extensions/iceworks-app/package.nls.zh-cn.json
+++ b/extensions/iceworks-app/package.nls.zh-cn.json
@@ -1,4 +1,5 @@
{
+ "iceworksApp.view.quickEntries.name": "快速入口",
"iceworksApp.view.npmScripts.name": "npm 脚本",
"iceworksApp.view.pages.name": "页面列表",
"iceworksApp.view.components.name": "组件列表",
@@ -10,6 +11,7 @@
"iceworksApp.viewsWelcome.nodeDependencies.contents": "未找到依赖。",
"iceworksApp.command.configHelper.start.title": "Iceworks: 设置",
"iceworksApp.command.DefPublish.title": "Iceworks: 使用 Def 发布",
+ "iceworksApp.command.quickEntries.start.title": "启动",
"iceworksApp.command.npmScripts.refresh.title": "刷新",
"iceworksApp.command.npmScripts.run.title": "运行脚本",
"iceworksApp.command.npmScripts.stop.title": "停止脚本",
diff --git a/extensions/iceworks-app/src/constants.ts b/extensions/iceworks-app/src/constants.ts
index 96fd9af68..0fc0b9a07 100644
--- a/extensions/iceworks-app/src/constants.ts
+++ b/extensions/iceworks-app/src/constants.ts
@@ -1,10 +1,64 @@
import { NodeDepTypes } from './types';
+import i18n from './i18n';
export const entryFileSuffix = ['.jsx', '.js', '.tsx', '.rml', '.vue'];
export const nodeDepTypes: NodeDepTypes[] = ['dependencies', 'devDependencies'];
-export const showExtensionsQuickPickCommandId = 'iceworksApp.showExtensionsQuickPick';
+export const showExtensionsQuickPickCommandId = 'iceworksApp.showEntriesQuickPick';
export const editorTitleRunDebugCommandId = 'npmScripts-editor-title-run-dev';
export const editorTitleRunBuildCommandId = 'npmScripts-editor-title-run-build';
+
+export const entryOptions = [
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.projectCreater.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.projectCreater.detail'),
+ command: 'iceworks-project-creator.start',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.detail'),
+ command: 'iceworks-ui-builder.generate-component',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.pageBuilder.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.pageBuilder.detail'),
+ command: 'iceworks-ui-builder.generate-page',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.materialImport.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.materialImport.detail'),
+ command: 'iceworks-material-helper.start',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.showMaterialDocs.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.showMaterialDocs.detail'),
+ command: 'iceworks-material-helper.showMaterialDocs',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.runDebug.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.runDebug.detail'),
+ command: 'iceworksApp.editorMenu.runDebug',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.runBuild.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.runBuild.detail'),
+ command: 'iceworksApp.editorMenu.runBuild',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.reinstall.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.reinstall.detail'),
+ command: 'iceworksApp.nodeDependencies.reinstall',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.addDepsAndDevDeps.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.addDepsAndDevDeps.detail'),
+ command: 'iceworksApp.nodeDependencies.addDepsAndDevDeps',
+ },
+ {
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.openSettings.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.openSettings.detail'),
+ command: 'iceworksApp.configHelper.start',
+ },
+];
diff --git a/extensions/iceworks-app/src/extension.ts b/extensions/iceworks-app/src/extension.ts
index 66ecc59a9..d35ee0dd7 100644
--- a/extensions/iceworks-app/src/extension.ts
+++ b/extensions/iceworks-app/src/extension.ts
@@ -8,10 +8,11 @@ import { createNpmScriptsTreeView } from './views/npmScriptsView';
import { createNodeDependenciesTreeView } from './views/nodeDependenciesView';
import { createComponentsTreeView } from './views/componentsView';
import { createPagesTreeView } from './views/pagesView';
+import { createQuickEntriesTreeView } from './views/quickEntriesView';
import { ITerminalMap } from './types';
import services from './services';
import { showExtensionsQuickPickCommandId } from './constants';
-import showExtensionsQuickPick from './quickPicks/showExtensionsQuickPick';
+import showEntriesQuickPick from './quickPicks/showEntriesQuickPick';
import createEditorMenuAction from './createEditorMenuAction';
import createExtensionsStatusBar from './statusBar/createExtensionsStatusBar';
import autoSetViewContext from './autoSetViewContext';
@@ -34,7 +35,7 @@ export async function activate(context: vscode.ExtensionContext) {
registerCommand(showExtensionsQuickPickCommandId, () => {
recorder.recordActivate();
- showExtensionsQuickPick();
+ showEntriesQuickPick();
})
);
@@ -77,6 +78,8 @@ export async function activate(context: vscode.ExtensionContext) {
window.onDidCloseTerminal((terminal) => {
terminals.delete(terminal.name);
});
+
+ treeViews.push(createQuickEntriesTreeView(context));
treeViews.push(createNpmScriptsTreeView(context, terminals));
treeViews.push(createComponentsTreeView(context));
treeViews.push(createPagesTreeView(context));
diff --git a/extensions/iceworks-app/src/locales/en-US.json b/extensions/iceworks-app/src/locales/en-US.json
index 3fc7a781b..11e86d8f6 100644
--- a/extensions/iceworks-app/src/locales/en-US.json
+++ b/extensions/iceworks-app/src/locales/en-US.json
@@ -1,26 +1,26 @@
{
- "extension.iceworksApp.showExtensionsQuickPick.projectCreater.label": "Iceworks: Create Application",
- "extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail": "Create a Universal Application(React/Rax/Vue, etc) quickly.",
- "extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label": "Iceworks: Generate Page",
- "extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail": "Build Page UI by low-code way.",
- "extension.iceworksApp.showExtensionsQuickPick.materialImport.label": "Iceworks: Import Component",
- "extension.iceworksApp.showExtensionsQuickPick.materialImport.detail": "Add Component to the Application in a visual way.",
- "extension.iceworksApp.showExtensionsQuickPick.generateComponent.label": "Iceworks: Generate Component",
- "extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail": "Generate components in a visual way.",
- "extension.iceworksApp.showExtensionsQuickPick.createComponent.label": "Iceworks: Create Component",
- "extension.iceworksApp.showExtensionsQuickPick.createComponent.detail": "Create Component by downloading materials.",
- "extension.iceworksApp.showExtensionsQuickPick.openSettings.label": "Iceworks: Settings",
- "extension.iceworksApp.showExtensionsQuickPick.openSettings.detail": "Set the related functions provided by Iceworks",
- "extension.iceworksApp.showExtensionsQuickPick.showMaterialDocs.label": "Iceworks: Find Component Document",
- "extension.iceworksApp.showExtensionsQuickPick.showMaterialDocs.detail": "Quickly search and browse component documents",
- "extension.iceworksApp.showExtensionsQuickPick.runDebug.label": "Iceworks: Debug",
- "extension.iceworksApp.showExtensionsQuickPick.runDebug.detail": "Debug and Preview the application through VS Code",
- "extension.iceworksApp.showExtensionsQuickPick.runBuild.label": "Iceworks: Run Build",
- "extension.iceworksApp.showExtensionsQuickPick.runBuild.detail": "Build the application of online resources",
- "extension.iceworksApp.showExtensionsQuickPick.reinstall.label": "Iceworks: Reinstall Dependencies",
- "extension.iceworksApp.showExtensionsQuickPick.reinstall.detail": "Reinstall the dependency packages for the application",
- "extension.iceworksApp.showExtensionsQuickPick.addDepsAndDevDeps.label": "Iceworks: Install Dependency",
- "extension.iceworksApp.showExtensionsQuickPick.addDepsAndDevDeps.detail": "Add a new dependency package for the application",
+ "extension.iceworksApp.showEntriesQuickPick.projectCreater.label": "Create Application",
+ "extension.iceworksApp.showEntriesQuickPick.projectCreater.detail": "Create a Universal Application(React/Rax/Vue, etc) quickly.",
+ "extension.iceworksApp.showEntriesQuickPick.pageBuilder.label": "Generate Page",
+ "extension.iceworksApp.showEntriesQuickPick.pageBuilder.detail": "Build Page UI by low-code way.",
+ "extension.iceworksApp.showEntriesQuickPick.materialImport.label": "Import Component",
+ "extension.iceworksApp.showEntriesQuickPick.materialImport.detail": "Add Component to the Application in a visual way.",
+ "extension.iceworksApp.showEntriesQuickPick.generateComponent.label": "Generate Component",
+ "extension.iceworksApp.showEntriesQuickPick.generateComponent.detail": "Generate components in a visual way.",
+ "extension.iceworksApp.showEntriesQuickPick.createComponent.label": "Open the Add Component Panel",
+ "extension.iceworksApp.showEntriesQuickPick.createComponent.detail": "Create Component by downloading materials.",
+ "extension.iceworksApp.showEntriesQuickPick.openSettings.label": "Settings",
+ "extension.iceworksApp.showEntriesQuickPick.openSettings.detail": "Set the related functions provided by Iceworks",
+ "extension.iceworksApp.showEntriesQuickPick.showMaterialDocs.label": "Find Component Document",
+ "extension.iceworksApp.showEntriesQuickPick.showMaterialDocs.detail": "Quickly search and browse component documents",
+ "extension.iceworksApp.showEntriesQuickPick.runDebug.label": "Debug",
+ "extension.iceworksApp.showEntriesQuickPick.runDebug.detail": "Debug and Preview the application through VS Code",
+ "extension.iceworksApp.showEntriesQuickPick.runBuild.label": "Run Build",
+ "extension.iceworksApp.showEntriesQuickPick.runBuild.detail": "Build the application of online resources",
+ "extension.iceworksApp.showEntriesQuickPick.reinstall.label": "Reinstall Dependencies",
+ "extension.iceworksApp.showEntriesQuickPick.reinstall.detail": "Reinstall the dependency packages for the application",
+ "extension.iceworksApp.showEntriesQuickPick.addDepsAndDevDeps.label": "Add Dependency",
+ "extension.iceworksApp.showEntriesQuickPick.addDepsAndDevDeps.detail": "Add a new dependency package for the application",
"extension.iceworksApp.showDepsInputBox.materialImport.placeHolder": "for example: lodash react@latest.",
"extension.iceworksApp.showDepsInputBox.materialImport.prompt": "Please enter the name of the dependency to be addded to <%= depType %>. Multiple dependencies should be spilted by Spaces.",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.label": "Daily",
diff --git a/extensions/iceworks-app/src/locales/zh-CN.json b/extensions/iceworks-app/src/locales/zh-CN.json
index 207e7ffed..80393c358 100644
--- a/extensions/iceworks-app/src/locales/zh-CN.json
+++ b/extensions/iceworks-app/src/locales/zh-CN.json
@@ -1,26 +1,26 @@
{
- "extension.iceworksApp.showExtensionsQuickPick.projectCreater.label": "Iceworks 创建应用",
- "extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail": "快速创建多端应用(例如:React/Rax/Vue...)",
- "extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label": "Iceworks 生成页面",
- "extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail": "通过区块组装的方式生成页面",
- "extension.iceworksApp.showExtensionsQuickPick.generateComponent.label": "Iceworks 生成组件",
- "extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail": "通过可视化搭建生成组件",
- "extension.iceworksApp.showExtensionsQuickPick.createComponent.label": "Iceworks 创建组件",
- "extension.iceworksApp.showExtensionsQuickPick.createComponent.detail": "通过选择下载远程区块创建组件",
- "extension.iceworksApp.showExtensionsQuickPick.materialImport.label": "Iceworks 添加组件",
- "extension.iceworksApp.showExtensionsQuickPick.materialImport.detail": "通过可视化操作添加组件到应用代码",
- "extension.iceworksApp.showExtensionsQuickPick.openSettings.label": "Iceworks 设置",
- "extension.iceworksApp.showExtensionsQuickPick.openSettings.detail": "设置 Iceworks 提供的相关功能",
- "extension.iceworksApp.showExtensionsQuickPick.showMaterialDocs.label": "Iceworks 查找组件文档",
- "extension.iceworksApp.showExtensionsQuickPick.showMaterialDocs.detail": "快速搜索组件文档并进行浏览",
- "extension.iceworksApp.showExtensionsQuickPick.runDebug.label": "Iceworks 启动调试",
- "extension.iceworksApp.showExtensionsQuickPick.runDebug.detail": "通过 VS Code 调试并预览应用",
- "extension.iceworksApp.showExtensionsQuickPick.runBuild.label": "Iceworks 执行构建",
- "extension.iceworksApp.showExtensionsQuickPick.runBuild.detail": "构建出应用的线上前端资源",
- "extension.iceworksApp.showExtensionsQuickPick.reinstall.label": "Iceworks 重装依赖",
- "extension.iceworksApp.showExtensionsQuickPick.reinstall.detail": "重新安装应用的依赖包",
- "extension.iceworksApp.showExtensionsQuickPick.addDepsAndDevDeps.label": "Iceworks 安装依赖",
- "extension.iceworksApp.showExtensionsQuickPick.addDepsAndDevDeps.detail": "为应用添加新的依赖包",
+ "extension.iceworksApp.showEntriesQuickPick.projectCreater.label": "创建应用",
+ "extension.iceworksApp.showEntriesQuickPick.projectCreater.detail": "快速创建多端应用(例如:React/Rax/Vue...)",
+ "extension.iceworksApp.showEntriesQuickPick.pageBuilder.label": "生成页面",
+ "extension.iceworksApp.showEntriesQuickPick.pageBuilder.detail": "通过区块组装的方式生成页面",
+ "extension.iceworksApp.showEntriesQuickPick.generateComponent.label": "生成组件",
+ "extension.iceworksApp.showEntriesQuickPick.generateComponent.detail": "通过可视化搭建生成组件",
+ "extension.iceworksApp.showEntriesQuickPick.createComponent.label": "创建组件",
+ "extension.iceworksApp.showEntriesQuickPick.createComponent.detail": "通过选择下载远程区块创建组件",
+ "extension.iceworksApp.showEntriesQuickPick.materialImport.label": "打开添加组件面板",
+ "extension.iceworksApp.showEntriesQuickPick.materialImport.detail": "通过可视化操作添加组件到应用代码",
+ "extension.iceworksApp.showEntriesQuickPick.openSettings.label": "设置",
+ "extension.iceworksApp.showEntriesQuickPick.openSettings.detail": "设置 Iceworks 提供的相关功能",
+ "extension.iceworksApp.showEntriesQuickPick.showMaterialDocs.label": "查找组件文档",
+ "extension.iceworksApp.showEntriesQuickPick.showMaterialDocs.detail": "快速搜索组件文档并进行浏览",
+ "extension.iceworksApp.showEntriesQuickPick.runDebug.label": "启动调试",
+ "extension.iceworksApp.showEntriesQuickPick.runDebug.detail": "通过 VS Code 调试并预览应用",
+ "extension.iceworksApp.showEntriesQuickPick.runBuild.label": "执行构建",
+ "extension.iceworksApp.showEntriesQuickPick.runBuild.detail": "构建出应用的线上前端资源",
+ "extension.iceworksApp.showEntriesQuickPick.reinstall.label": "重装依赖",
+ "extension.iceworksApp.showEntriesQuickPick.reinstall.detail": "重新安装应用的依赖包",
+ "extension.iceworksApp.showEntriesQuickPick.addDepsAndDevDeps.label": "添加依赖",
+ "extension.iceworksApp.showEntriesQuickPick.addDepsAndDevDeps.detail": "为应用添加新的依赖",
"extension.iceworksApp.showDepsInputBox.materialImport.placeHolder": "例如: lodash react@latest",
"extension.iceworksApp.showDepsInputBox.materialImport.prompt": "请输入需要添加到 <%= depType %> 的依赖名称, 支持通过空格添加多个依赖",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.label": "日常环境",
diff --git a/extensions/iceworks-app/src/quickPicks/showAddComponentQuickPick.ts b/extensions/iceworks-app/src/quickPicks/showAddComponentQuickPick.ts
index ab1fb8ff7..cdfd80775 100644
--- a/extensions/iceworks-app/src/quickPicks/showAddComponentQuickPick.ts
+++ b/extensions/iceworks-app/src/quickPicks/showAddComponentQuickPick.ts
@@ -5,13 +5,13 @@ const { window, commands } = vscode;
const addComponentTypeOptions = [
{
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.generateComponent.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail'),
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.generateComponent.detail'),
command: 'iceworks-ui-builder.generate-component',
},
{
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.createComponent.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.createComponent.detail'),
+ label: i18n.format('extension.iceworksApp.showEntriesQuickPick.createComponent.label'),
+ detail: i18n.format('extension.iceworksApp.showEntriesQuickPick.createComponent.detail'),
command: 'iceworks-ui-builder.create-component',
},
];
diff --git a/extensions/iceworks-app/src/quickPicks/showEntriesQuickPick.ts b/extensions/iceworks-app/src/quickPicks/showEntriesQuickPick.ts
new file mode 100644
index 000000000..05b4671a7
--- /dev/null
+++ b/extensions/iceworks-app/src/quickPicks/showEntriesQuickPick.ts
@@ -0,0 +1,18 @@
+import * as vscode from 'vscode';
+import { entryOptions } from '../constants';
+
+const { window, commands } = vscode;
+
+export default function showEntriesQuickPick() {
+ const quickPick = window.createQuickPick();
+ quickPick.items = entryOptions.map((options) => ({ label: options.label, detail: options.detail }));
+ quickPick.onDidChangeSelection((selection) => {
+ if (selection[0]) {
+ const currentExtension = entryOptions.find((option) => option.label === selection[0].label)!;
+ commands.executeCommand(currentExtension.command);
+ quickPick.dispose();
+ }
+ });
+ quickPick.onDidHide(() => quickPick.dispose());
+ quickPick.show();
+}
diff --git a/extensions/iceworks-app/src/quickPicks/showExtensionsQuickPick.ts b/extensions/iceworks-app/src/quickPicks/showExtensionsQuickPick.ts
deleted file mode 100644
index 9dc995215..000000000
--- a/extensions/iceworks-app/src/quickPicks/showExtensionsQuickPick.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import * as vscode from 'vscode';
-import i18n from '../i18n';
-
-const { window, commands } = vscode;
-
-const extensionOptions = [
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.projectCreater.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail'),
- command: 'iceworks-project-creator.start',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.generateComponent.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail'),
- command: 'iceworks-ui-builder.generate-component',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail'),
- command: 'iceworks-ui-builder.generate-page',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.materialImport.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.materialImport.detail'),
- command: 'iceworks-material-helper.start',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.showMaterialDocs.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.showMaterialDocs.detail'),
- command: 'iceworks-material-helper.showMaterialDocs',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.runDebug.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.runDebug.detail'),
- command: 'iceworksApp.editorMenu.runDebug',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.runBuild.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.runBuild.detail'),
- command: 'iceworksApp.editorMenu.runBuild',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.reinstall.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.reinstall.detail'),
- command: 'iceworksApp.nodeDependencies.reinstall',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.addDepsAndDevDeps.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.addDepsAndDevDeps.detail'),
- command: 'iceworksApp.nodeDependencies.addDepsAndDevDeps',
- },
- {
- label: i18n.format('extension.iceworksApp.showExtensionsQuickPick.openSettings.label'),
- detail: i18n.format('extension.iceworksApp.showExtensionsQuickPick.openSettings.detail'),
- command: 'iceworksApp.configHelper.start',
- },
-];
-
-export default function showExtensionsQuickPick() {
- const quickPick = window.createQuickPick();
- quickPick.items = extensionOptions.map((options) => ({ label: options.label, detail: options.detail }));
- quickPick.onDidChangeSelection((selection) => {
- if (selection[0]) {
- const currentExtension = extensionOptions.find((option) => option.label === selection[0].label)!;
- commands.executeCommand(currentExtension.command);
- quickPick.dispose();
- }
- });
- quickPick.onDidHide(() => quickPick.dispose());
- quickPick.show();
-}
diff --git a/extensions/iceworks-app/src/views/quickEntriesView.ts b/extensions/iceworks-app/src/views/quickEntriesView.ts
new file mode 100644
index 000000000..e41f597cd
--- /dev/null
+++ b/extensions/iceworks-app/src/views/quickEntriesView.ts
@@ -0,0 +1,60 @@
+import * as vscode from 'vscode';
+import { registerCommand, executeCommand } from '@iceworks/common-service';
+import { entryOptions } from '../constants';
+
+export class QuickEntriesProvider implements vscode.TreeDataProvider