An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# sqltoy-idea-plugin

[![Release](https://img.shields.io/github/v/release/imyuyu/sqltoy-idea-plugin?logo=github)](https://github.com/imyuyu/sqltoy-idea-plugin)
[![Version](https://img.shields.io/jetbrains/plugin/v/23156-sqltoy-integration.svg)](https://plugins.jetbrains.com/plugin/23156-sqltoy-integration)
[![Downloads](https://img.shields.io/jetbrains/plugin/d/23156-sqltoy-integration.svg)](https://plugins.jetbrains.com/plugin/23156-sqltoy-integration)
![GitHub License](https://img.shields.io/github/license/imyuyu/sqltoy-idea-plugin)
[![Star](https://img.shields.io/github/stars/imyuyu/sqltoy-idea-plugin.svg?style=social)](https://github.com/imyuyu/sqltoy-idea-plugin)
![Build](https://github.com/imyuyu/sqltoy-idea-plugin/workflows/Build/badge.svg)

这是一个`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