README.md
1# Host Subsystem
2
3## Brief Introduction
4
5The tool chain consistency platform is divided into two parts: Host subsystem and equipment terminal system.
6The final component of host subsystem is ide tool software,It is divided into UI drawing, device management,
7process management, plug-in management, data import, data storage, data analysis, session management, configuration management and other modules.
8
9
10## 目录
11
12```
13ohos.devtools/
14├── views #GUI module
15│ ├── layout #Layout module
16│ ├── charts #Chart module
17│ ├── common #Common module
18│ └── resource #Resource module
19├── services #Services module
20│ ├── memory #Memory module
21│ ├── diskio #diskio module
22│ ├── network #network module
23│ ├── ftrace #ftrace module
24│ ├── bytrace #bytrace module
25│ ├── hiperf #hiperf module
26│ └── power #power module
27├── database #database module
28│ ├── transport #transport module
29│ └── utils #utils module
30├──
31```
32
33## USE
34
351.To prepare development tools, you can use IntelliJ idea Community Edition or IntelliJ idea Ultimate Edition
36
372.Using the development tool to import a project, if you are using it for the first time, you need to load ideaic.
38In fact, this file is IntelliJ idea community version, when debugging plug-ins, idea will synchronously start a
39community version of idea with plug-ins installed, which is relatively large and time-consuming
40
413.Local packaging: after entering the main interface, select gradle in the right column and click build plug under IntelliJ.
42If the execution is successful, the build file will be created in the root directory of the project by default,
43and the packaged plug-ins will be in the directory of build / distributions.The plug-in without dependency is jar package,
44and the plug-in with dependency is ZIP format. Either one can be installed directly in idea plug.
45Open file ➡ Settings ➡ Plugins, select the gear button, and select Install plug from disk
46
47For issues related to idea platform, see
48https://plugins.jetbrains.com/docs/intellij/welcome.html?from=jetbrains.org
49
50
51## License
52
53```
54# Copyright (c) 2021 Huawei Device Co., Ltd.
55# Licensed under the Apache License, Version 2.0 (the "License");
56# you may not use this file except in compliance with the License.
57# You may obtain a copy of the License at
58#
59# http://www.apache.org/licenses/LICENSE-2.0
60#
61# Unless required by applicable law or agreed to in writing, software
62# distributed under the License is distributed on an "AS IS" BASIS,
63# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
64# See the License for the specific language governing permissions and
65# limitations under the License.
66```
67
README_zh.md
1# HOST子系统
2
3## 简介
4
5工具链一致性平台整体分为HOST子系统和设备端子系统两部分。HOST子系统最终组件为IDE工具软件,
6内部又分为UI绘制、设备管理、进程管理、插件管理、数据导入、数据存储、 数据分析、Session管理、配置管理等模块。
7
8
9
10## 目录
11
12```
13ohos.devtools/
14├── views #GUI视图管理模块
15│ ├── layout #UI布局框架
16│ ├── charts #Chart绘制模块
17│ ├── common #UI公共模块
18│ └── resource #UI资源模块
19├── services #业务管理模块
20│ ├── memory #Memory业务模块
21│ ├── diskio #diskio业务模块
22│ ├── network #network业务模块
23│ ├── ftrace #ftrace业务模块
24│ ├── bytrace #bytrace业务模块
25│ ├── hiperf #hiperf业务模块
26│ └── power #power业务模块
27├── database #数据管理模块
28│ ├── transport #数据通信模块
29│ └── utils #工具类模块
30├──
31```
32
33## 使用
34
351.准备开发工具,可以使用【IntelliJ IDEA社区版】或者【IntelliJ IDEA旗舰版】
36
372.使用开发工具导入项目,如果你是第一次使用是需要加载ideaIC的,这个文件其实就是
38IntelliJ Idea社区版,在插件调试时Idea会同步启动一个安装了插件的社区版Idea,由于比较大,会比较耗时
39
403.本地打包:进入主界面后,选择右边栏Gradle,在intellij下点击buildPlugin。
41执行成功默认会在项目根目录创建build文件,打包后的插件就在\build\distributions目录下。
42无依赖的插件是JAR包,带有依赖的插件是ZIP格式。无论哪种都可以直接在IDEA Plugin中安装。
43打开File➡Settings➡Plugins,选择齿轮按钮,选择Install Plugin from Disk(从本地磁盘中安装)
44
45IDEA Platform相关问题请参见:
46https://plugins.jetbrains.com/docs/intellij/welcome.html?from=jetbrains.org
47
48
49## 版权声明
50
51```
52# Copyright (c) 2021 Huawei Device Co., Ltd.
53# Licensed under the Apache License, Version 2.0 (the "License");
54# you may not use this file except in compliance with the License.
55# You may obtain a copy of the License at
56#
57# http://www.apache.org/licenses/LICENSE-2.0
58#
59# Unless required by applicable law or agreed to in writing, software
60# distributed under the License is distributed on an "AS IS" BASIS,
61# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
62# See the License for the specific language governing permissions and
63# limitations under the License.
64```
65