• 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.ts</id>
17  <name>Ts Generator</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;One-click generation of NAPI framework code, business code framework, GN file, etc. according to the ts (typescript) interface file in the user-specified path.<br/></p>
24        <p>&nbsp;&nbsp;&nbsp;&nbsp;When developing the interface between JS applications and NAPI, the developers of the underlying framework do not need to pay attention to the upper-level application conversion logic such as Nodejs syntax, data type conversion between C++ and JS, and only focus on the underlying business logic. Professional people do professional things. Thus, the development efficiency can be greatly improved</p>
25        <p><a href="https://gitee.com/openharmony/napi_generator">Sources on Gitee</a></p>
26    ]]>
27  </description>
28
29  <change-notes><![CDATA[
30    <h2>Features</h2>
31    ]]>
32  </change-notes>
33
34  <idea-version since-build="211.0"/>
35
36  <depends>com.intellij.modules.platform</depends>
37  <depends>com.sk.ng</depends>
38
39  <extensions defaultExtensionNs="com.intellij">
40    <!-- Add your extensions here -->
41<!--    <notificationGroup displayType="BALLOON" id="Generate.Result.Group"/>-->
42<!--    <toolWindow id="Generator window" anchor="right" factoryClass="com.sk.dialog.ResutlToolWindowFactory" secondary="true"/>-->
43    <notificationGroup id="Generate.Result.Group"
44                       displayType="STICKY_BALLOON"/>
45  </extensions>
46
47  <actions>
48    <!-- Add your actions here -->
49    <action id="TsGenerate.gen" class="com.sk.ts.ng.GenDTS" text="Generate Ts Frame" description="generate ts files">
50      <add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
51    </action>
52
53    <group id="TsGenerate.meneGen" text="Generate Ts" >
54      <add-to-group group-id="ToolsMenu" anchor="last" />
55    </group>
56
57    <action class="com.sk.ts.ng.GenMenuDTS" id="tsToolsGen" text="Generate Ts Frame">
58      <add-to-group group-id="TsGenerate.meneGen" anchor="last" />
59      <keyboard-shortcut keymap="$default" first-keystroke="shift alt G"/>
60    </action>
61
62  </actions>
63
64</idea-plugin>