Skip to content

Commit a651023

Browse files
authored
Merge pull request #8 from maiqingqiang/next
v1.2.1
2 parents 4ddd37c + a66a150 commit a651023

25 files changed

+325
-108
lines changed

.DS_Store

-6 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@
44

55
## [Unreleased]
66

7+
## [1.2.1] - 2023-07-25
8+
9+
### Added
10+
11+
- Support Inline Conditions.
12+
13+
### Fixed
14+
15+
- Fix GoFrame ORM unsupported syntax.
16+
- Fix Outdated stub in index Exception.
17+
718
## [1.2.0] - 2023-07-15
819

920
### Added
21+
1022
- Support GoFrame ORM.
1123
- Support Go ORM Tags Live Template.
1224
- Refactor Code Completion. Better Performance!
@@ -15,36 +27,50 @@
1527
## [1.1.0] - 2023-07-04
1628

1729
### Added
30+
1831
- Assisted code completion with @Table annotation.
1932
- Support ORM's table method.
2033

2134
### Fixed
35+
2236
- Fix SQL to Struct error.
2337

2438
## [1.0.2] - 2023-07-04
2539

2640
### Fixed
41+
2742
- Fix the verify SQL exception.
2843

2944
## [1.0.1] - 2023-07-03
3045

3146
### Fixed
32-
- Fix the issue where the scanning paths in the settings cannot utilize the delete, move up, move down, and other functions.
47+
48+
- Fix the issue where the scanning paths in the settings cannot utilize the delete, move up, move down, and other
49+
functions.
3350

3451
### Optimize
52+
3553
- Abstract the core path of the ORM into a common class.
3654
- Implement multi-language support, currently supporting Chinese, English, Japanese, and Korean languages.
3755
- Separate the plugin description.
3856

3957
## [1.0.0] - 2023-07-02
4058

4159
### Added
60+
4261
- ORM Code Completion
4362
- SQL to Struct
4463

45-
[Unreleased]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.0...HEAD
64+
[Unreleased]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.1...HEAD
65+
66+
[1.2.1]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.0...v1.2.1
67+
4668
[1.2.0]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.1.0...v1.2.0
69+
4770
[1.1.0]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.0.2...v1.1.0
71+
4872
[1.0.2]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.0.1...v1.0.2
73+
4974
[1.0.1]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.0.0...v1.0.1
75+
5076
[1.0.0]: https://github.com/maiqingqiang/go-orm-helper/tree/v1.0.0

README-ja_JP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838

3939
## インストール
4040

41-
### Jetbrains Marketplace からプラグインをインストールする
42-
4341
> 互換性範囲:
4442
> - GoLand — 2022.2+
4543
> - IntelliJ IDEA Ultimate — 2022.2+
4644
45+
### Jetbrains Marketplace からプラグインをインストールする
46+
4747
<a href="https://plugins.jetbrains.com/plugin/22173-go-orm-helper" target="_blank">
4848
<img src="https://blog.johnmai.top/go-orm-helper/assets/installation_button.svg" height="52" alt="Get from Marketplace" title="Get from Marketplace">
4949
</a>

README-ko_KR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838

3939
## 설치
4040

41-
### Jetbrains Marketplace 에서 플러그인 설치
42-
4341
> 호환성 범위:
4442
> - GoLand — 2022.2+
4543
> - IntelliJ IDEA Ultimate — 2022.2+
4644
45+
### Jetbrains Marketplace 에서 플러그인 설치
46+
4747
<a href="https://plugins.jetbrains.com/plugin/22173-go-orm-helper" target="_blank">
4848
<img src="https://blog.johnmai.top/go-orm-helper/assets/installation_button.svg" height="52" alt="Get from Marketplace" title="Get from Marketplace">
4949
</a>

README-zh_CN.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,38 @@
3434

3535
## 使用
3636

37+
### 代码补全
38+
https://www.jetbrains.com/help/go/auto-completing-code.html#code-completion-for-functions
39+
3740
![guide.gif](assets%2Fguide.gif)
3841

39-
## 安装
42+
### 注解辅助
43+
有些写法此插件可能无法兼容,导致无法补全。你可以使用 @Model 或者 @Table 解决此问题。
44+
![annotation.gif](assets%2Fannotation.gif)
4045

41-
### 通过 Jetbrains Marketplace 安装
46+
插件会扫描项目中所有Struct,建议设置扫描范围。
47+
![setting.png](assets%2Fsetting.png)
48+
49+
### 实时模版
50+
![live-template.gif](assets%2Flive-template.gif)
51+
52+
### SQL 转 Struct
53+
#### 粘贴方式
54+
![paste.gif](assets%2Fpaste.gif)
55+
56+
#### 菜单操作
57+
选中 SQL -> 点击编辑器右键菜单 -> Go ORM 助手工具箱 -> SQL 转 Struct
58+
59+
![manual-sql-to-struct.png](assets%2Fmanual-sql-to-struct.png)
60+
61+
## 安装
4262

4363
> 兼容范围:
4464
> - GoLand — 2022.2+
4565
> - IntelliJ IDEA Ultimate — 2022.2+
4666
67+
### 通过 Jetbrains Marketplace 安装
68+
4769
<a href="https://plugins.jetbrains.com/plugin/22173-go-orm-helper" target="_blank">
4870
<img src="https://blog.johnmai.top/go-orm-helper/assets/installation_button.svg" height="52" alt="Get from Marketplace" title="Get from Marketplace">
4971
</a>

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,40 @@ for writing ORM code. Supports: Gorm、Xorm、Beego、GoFrame, etc.<br/>⭐️ S
3232
- [More Supported](./SUPPORTED.md)
3333

3434
## Usage
35+
36+
### Code Completion
37+
https://www.jetbrains.com/help/go/auto-completing-code.html#code-completion-for-functions
38+
3539
![guide.gif](assets%2Fguide.gif)
3640

41+
### Annotation
42+
If the plugin is not compatible with your syntax, you can use the @Model or @Table helper.
43+
![annotation.gif](assets%2Fannotation.gif)
44+
45+
The plugin will scan the Structs in your project. It is recommended to set the scanning scope.
46+
![setting.png](assets%2Fsetting.png)
47+
48+
### Live Template
49+
![live-template.gif](assets%2Flive-template.gif)
50+
51+
### SQL to Struct
52+
#### Paste
53+
![paste.gif](assets%2Fpaste.gif)
54+
55+
#### Menu Action
56+
Selected SQL -> Editor Popup Menu -> Go ORM Helper Tool -> SQL Convert Struct
57+
![manual-sql-to-struct.png](assets%2Fmanual-sql-to-struct.png)
58+
3759
<!-- Plugin description end -->
3860

3961
## Installation
4062

41-
### Install Plugin from Jetbrains Marketplace
42-
43-
> Compatibility Range:
63+
> Compatibility Range:
4464
> - GoLand — 2022.2+
4565
> - IntelliJ IDEA Ultimate — 2022.2+
4666
67+
### Install Plugin from Jetbrains Marketplace
68+
4769
<a href="https://plugins.jetbrains.com/plugin/22173-go-orm-helper" target="_blank">
4870
<img src="https://blog.johnmai.top/go-orm-helper/assets/installation_button.svg" height="52" alt="Get from Marketplace" title="Get from Marketplace">
4971
</a>

assets/annotation.gif

1.94 MB
Loading

assets/live-template.gif

978 KB
Loading

assets/manual-sql-to-struct.png

186 KB
Loading

assets/paste.gif

607 KB
Loading

0 commit comments

Comments
 (0)