Skip to content

Commit 2123e11

Browse files
陈超涛gitee-org
authored andcommitted
!210 feat: inula-vscode插件
Merge pull request !210 from aabbcc-nwjian/kyzx-2025
2 parents d392387 + 04aeaf0 commit 2123e11

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+4856
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
out
2+
dist
3+
node_modules
4+
.vscode-test/
5+
*.vsix
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"deviceId": "3a873ae8b56a4a38bc8ef21a8a7ecdc7d5df5ac9b0bd44cfcae505e6fa5ec2a7"
3+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js',
5+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.vscode/**
2+
.vscode-test/**
3+
out/**
4+
node_modules/**
5+
src/**
6+
.gitignore
7+
.yarnrc
8+
webpack.config.js
9+
vsc-extension-quickstart.md
10+
**/tsconfig.json
11+
**/eslint.config.mjs
12+
**/*.map
13+
**/*.ts
14+
**/.vscode-test.*
15+
!dist/plugin.js
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Change Log
2+
3+
All notable changes to the "openinula" extension will be documented in this file.
4+
5+
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
6+
7+
## [Unreleased]
8+
9+
- Initial release
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# inula2-vscode-plugin
2+
3+
#### Description
4+
openInula2.0的VSCode插件,能够在开发过程中为开发者提供组件信息、标识状态、响应关系等。
5+
6+
#### Software Architecture
7+
Software architecture description
8+
9+
#### Installation
10+
11+
1. xxxx
12+
2. xxxx
13+
3. xxxx
14+
15+
#### Instructions
16+
17+
1. xxxx
18+
2. xxxx
19+
3. xxxx
20+
21+
#### Contribution
22+
23+
1. Fork the repository
24+
2. Create Feat_xxx branch
25+
3. Commit your code
26+
4. Create Pull Request
27+
28+
29+
#### Gitee Feature
30+
31+
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
32+
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
33+
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
34+
4. The most valuable open source project [GVP](https://gitee.com/gvp)
35+
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
36+
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# openinula README
2+
3+
This is the README for your extension "openinula". After writing up a brief description, we recommend including the following sections.
4+
5+
## Features
6+
7+
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
8+
9+
For example if there is an image subfolder under your extension project workspace:
10+
11+
\!\[feature X\]\(images/feature-x.png\)
12+
13+
> Tip: Many popular extensions utilize animations. This is an excellent way to show off your extension! We recommend short, focused animations that are easy to follow.
14+
15+
## Requirements
16+
17+
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
18+
19+
## Extension Settings
20+
21+
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
22+
23+
For example:
24+
25+
This extension contributes the following settings:
26+
27+
* `myExtension.enable`: Enable/disable this extension.
28+
* `myExtension.thing`: Set to `blah` to do something.
29+
30+
## Known Issues
31+
32+
Calling out known issues can help limit users opening duplicate issues against your extension.
33+
34+
## Release Notes
35+
36+
Users appreciate release notes as you update your extension.
37+
38+
### 1.0.0
39+
40+
Initial release of ...
41+
42+
### 1.0.1
43+
44+
Fixed issue #.
45+
46+
### 1.1.0
47+
48+
Added features X, Y, and Z.
49+
50+
---
51+
52+
## Following extension guidelines
53+
54+
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
55+
56+
* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines)
57+
58+
## Working with Markdown
59+
60+
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
61+
62+
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
63+
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
64+
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
65+
66+
## For more information
67+
68+
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
69+
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)
70+
71+
**Enjoy!**
72+
# inula2-vscode-plugin
73+
74+
#### 介绍
75+
openInula2.0的VSCode插件,能够在开发过程中为开发者提供组件信息、标识状态、响应关系等。
76+
77+
#### 软件架构
78+
软件架构说明
79+
80+
81+
#### 安装教程
82+
83+
1. xxxx
84+
2. xxxx
85+
3. xxxx
86+
87+
#### 使用说明
88+
89+
1. xxxx
90+
2. xxxx
91+
3. xxxx
92+
93+
#### 参与贡献
94+
95+
1. Fork 本仓库
96+
2. 新建 Feat_xxx 分支
97+
3. 提交代码
98+
4. 新建 Pull Request
99+
100+
101+
#### 特技
102+
103+
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
104+
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
105+
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
106+
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
107+
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
108+
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ['@babel/preset-env']
3+
};
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
2+
import tsParser from "@typescript-eslint/parser";
3+
4+
export default [{
5+
files: ["**/*.ts"],
6+
}, {
7+
plugins: {
8+
"@typescript-eslint": typescriptEslint,
9+
},
10+
11+
languageOptions: {
12+
parser: tsParser,
13+
ecmaVersion: 2022,
14+
sourceType: "module",
15+
},
16+
17+
rules: {
18+
"@typescript-eslint/naming-convention": ["warn", {
19+
selector: "import",
20+
format: ["camelCase", "PascalCase"],
21+
}],
22+
23+
curly: "warn",
24+
eqeqeq: "warn",
25+
"no-throw-literal": "warn",
26+
semi: "warn",
27+
},
28+
}];
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
export default {
3+
preset: 'ts-jest/presets/default-esm',
4+
testEnvironment: 'node',
5+
extensionsToTreatAsEsm: ['.ts', '.tsx', '.js', '.jsx', '.mjs'],
6+
globals: {
7+
'ts-jest': {
8+
useESM: true,
9+
},
10+
},
11+
moduleNameMapper: {
12+
'^(\\.{1,2}/.*)\\.js$': '$1',
13+
},
14+
transform: {
15+
'^.+\\.jsx?$': 'babel-jest',
16+
},
17+
};

0 commit comments

Comments
 (0)