https://github.com/imyuyu/sqltoy-idea-plugin
sqltoy-orm is an orm framework that is more suitable for projects than Hibernate + MyBatis. It has the convenience of adding, deleting, modifying and loading objects, and also has more flexible and elegant custom SQL query functions than MyBatis.
https://github.com/imyuyu/sqltoy-idea-plugin
intellij-plugin sqltoy-orm
Last synced: about 2 months ago
JSON representation
sqltoy-orm is an orm framework that is more suitable for projects than Hibernate + MyBatis. It has the convenience of adding, deleting, modifying and loading objects, and also has more flexible and elegant custom SQL query functions than MyBatis.
- Host: GitHub
- URL: https://github.com/imyuyu/sqltoy-idea-plugin
- Owner: imyuyu
- License: mit
- Created: 2023-10-29T04:18:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-05T15:16:37.000Z (about 1 year ago)
- Last Synced: 2025-04-05T16:25:10.574Z (about 1 year ago)
- Topics: intellij-plugin, sqltoy-orm
- Language: Kotlin
- Homepage:
- Size: 1.91 MB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sqltoy-idea-plugin
[](https://github.com/imyuyu/sqltoy-idea-plugin)
[](https://plugins.jetbrains.com/plugin/23156-sqltoy-integration)
[](https://plugins.jetbrains.com/plugin/23156-sqltoy-integration)

[](https://github.com/imyuyu/sqltoy-idea-plugin)

这是一个`sqltoy`的`Idea`插件!!!!!
## 参考链接
### [sqltoy](https://gitee.com/sagacity/sagacity-sqltoy)
### [sqltoy Lambda](https://gitee.com/gzghde/sqltoy-plus)
### [sqltoy管理系统脚手架](https://gitee.com/momoljw/sss-rbac-admin)
## 插件介绍
### English
sqltoy-orm is an orm framework that is more suitable for projects than Hibernate + MyBatis. It has the convenience of adding, deleting, modifying and loading objects, and also has more flexible and elegant custom SQL query functions than MyBatis.
SQLToy Plugin Features:
- Support xml definition jump java call statement
- java call jump xml definition
- SQL statement highlighting
### 中文
sqltoy-orm是比hibernate+myBatis更加贴合项目的orm框架,具有hibernate增删改和对象加载的便捷性同时也具有比myBatis更加灵活优雅的自定义sql查询功能.
插件功能:
- 支持xml定义跳转java调用语句
- java调用跳转xml定义
- SQL语句高亮
## todo
- [X] 实现语法高亮
- [X] 实现java跳转xml定义
- [X] 实现xml跳转java调用
- [X] sql.xml文件图标改为特有标识
- [X] 提供新建`sql.xml`、`sqltoy-translate.xml`文件模板
- [X] 实现`double shift`搜索符号
- [X] 实现xml中sqlId的`find usages`
- [X] 实现java调用时的代码自动完成,自动提醒sqlId
- [X] 实现java调用中时,快速文档展示
- [X] 未被调用的sqlId给予警告
- [X] sqlId重复报错
- [ ] 实现sql定义的中的`@`符号自动完成,如`@fast,@Loop`
- [X] 缓存翻译跳转
- [X] 缓存翻译自动完成
- [X] 缓存翻译中sql相关的支持语法高亮
## Installation
- Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "sqltoy-idea-plugin" >
Install
- Manually:
Download the [latest release](https://github.com/imyuyu/sqltoy-idea-plugin/releases/latest) and install it manually using
Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
---
本工程参考了以下项目,感谢
- [sqltoy-idea-plugins],感谢[threefish](https://github.com/threefish)的代码
- [MybatisX]
[sqltoy-idea-plugins]: https://github.com/threefish/sqltoy-idea-plugins
[MybatisX]: https://github.com/baomidou/MybatisX