• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2  Copyright (c) 2023 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3  Licensed under the Apache License, Version 2.0 (the "License");
4  you may not use this file except in compliance with the License.
5  You may obtain a copy of the License at
6
7  http://www.apache.org/licenses/LICENSE-2.0
8
9  Unless required by applicable law or agreed to in writing, software
10  distributed under the License is distributed on an "AS IS" BASIS,
11  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  See the License for the specific language governing permissions and
13  limitations under the License.
14-->
15<idea-plugin>
16    <id>com.sk.gn</id>
17    <name>Gn Generate</name>
18    <version>1.0.1</version>
19    <vendor email="zhaojunxia@kaihong.com" url="http://kaihong.com/">深圳开鸿数字产业发展有限公司</vendor>
20
21    <description><![CDATA[
22        <h2>Introduction</h2>
23        <p>&nbsp;&nbsp;&nbsp;&nbsp;The current OpenHarmony 3.1Release and later versions use bundle.json to integrate subsystem code. However, some libraries are integrated as cmakelists.txt, which cannot be integrated into OpenHarmony source code. You need to compile the library to a build.gn file, and then use the generated GN script to integrate the library into OpenHarmony.<br/></p>
24        <p><a href="https://gitee.com/zhaojunxia2020/napi_generator_0824/">Sources on Gitee</a></p>
25        ]]>
26  </description>
27
28    <idea-version since-build="113.0"/>
29    <depends>com.intellij.modules.lang</depends>
30
31    <extensions defaultExtensionNs="com.intellij">
32    </extensions>
33
34    <actions>
35        <!-- Add your actions here -->
36        <action id="Gn.gen" class="com.sk.gn.ng.GnDTS" text="Gn Generate Frame">
37            <add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
38        </action>
39
40        <group id="Gn.menuGen" text="Generate Gn" >
41            <add-to-group group-id="ToolsMenu" anchor="last" />
42        </group>
43
44        <action class="com.sk.gn.ng.GnMenuDTS" id="gnToolsGen" text="Gn Generate Frame">
45            <add-to-group group-id="Gn.menuGen" anchor="last" />
46            <keyboard-shortcut keymap="$default" first-keystroke="shift alt E"/>
47        </action>
48
49    </actions>
50
51</idea-plugin>