• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 开发指导手册
2
3### 简介
4
5**napi-generator**初始目标为提供基于OpenHarmony标准系统,推出一些提升开发效率的NAPI框架代码生成工具。工作范围:
6
71. 针对开发人员、主流操作系统的IDE平台,提供NAPI框架代码生成工具
82. 提供使用范例
93. 提供持续的改进优化
10
11
12
13### 架构图
14
15![架构图](https://gitee.com/openharmony/napi_generator/raw/master/figures/arch.png)
16
17
18### 文件结构
19```
20napi_generator
21├── docs
22├── examples
23├── FAQ.md
24├── figures
25├── LICENSE
26├── OAT.xml
27├── README.md
28├── release-notes
29├── src
30└── test
31```
32* docs: 文档,包括使用说明和开发指导
33* example:样例,包括文本样例和应用开发样例
34* FAQ.md: 常见问题说明
35* figures:图例,文档里包括的图片
36* LICENSE:版权说明
37* OAT.xml: 开源审视配置,参看[OAT开源审查工具](https://gitee.com/openharmony-sig/tools_oat)
38* README.md: 仓说明文件
39* release-motes: 版本发布说明
40* src: 源码
41* test:测试工具
42
43
44### 各个模块介绍
45##### 命令行生成工具介绍
46* [cmake2gn](../src/cli/cmake2gn/docs/guide/DEVELOP_ZH.md)
47* [dts2cpp](../src/cli/dts2cpp/docs/guide/DEVELOP_ZH.md)
48* [h2dts](../src/cli/h2dts/docs/guide/DEVELOP_ZH.md)
49* [h2sa](../src/cli/h2sa/docs/guide/DEVELOP_ZH.md)
50##### Intellij插件介绍
51* [assist](../src/intellij_plugin/assist/assist_tools_IntelliJ_plugin/docs/guide/DEVELOP_ZH.md)
52* [dts2cpp](../src/intellij_plugin/dts2cpp/napi_IntelliJ_plugin/docs/guide/DEVELOP_ZH.md)
53* [h2dts](../src/intellij_plugin/h2dts/ts_IntelliJ_plugin/docs/guide/DEVELOP_ZH.md)
54##### API扫描工具介绍
55* [api](../src/tool/api/api_scan_IntelliJ_plugin/docs/DEVELOP_ZH.md)
56##### Vscode插件介绍
57* [dts2cpp](../src/vscode_plugin/readme.md)
58* [h2dts](../src/vscode_plugin/readme.md)
59* [h2dtscpp](../src/vscode_plugin/readme.md)
60* [h2sa](../src/vscode_plugin/readme.md)
61