# intellij-idea-plugin
**Repository Path**: singmoonshell/intellij-idea-plugin
## Basic Information
- **Project Name**: intellij-idea-plugin
- **Description**: Intellij Idea plugin for Dubbo project scaffold
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-03-19
- **Last Updated**: 2021-03-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Dubbo Intellij Idea 插件
[](https://opensource.org/licenses/Apache-2.0)
[][plugin]
[][plugin]
## 功能
- 快速构建一个dubbo+springboot的项目 包含ApiModule 和 providerModule
- 可选其他依赖 如mybatis pageHelper hikari 并且配置好 生成代码例子和testcase 可立即运行
## 目前支持的依赖
| 依赖名 | 开始支持的版本 |
|----------------------|------------------- |
| MYBAITS | v1.0 |
| MYSQL | v1.0 |
|LOMBOK | v1.0 |
| REDIS | v1.0 |
| FASTJSON | v1.0 |
| RABBIT_MQ | v1.0 |
| COMMON_LANGS_3 | v1.0 |
| SPRING_RETRY | v1.0 |
| ZOOKEEPER | v1.0 |
|WEB_TOMCAT| v1.0 |
|PAGE_HELPER | v1.0 |
|HIKARI | v1.0 |
## 截图
- 第一步操作

- 第二步操作

- 第三步操作

- 生成项目结构

- 生成的主类

- 生成的dubboProvider类

- 生成的mybatis接口例子

- 生成的service例子 此处使用了pageHelper

- 生成的testcase

## 安装
插件支持Intellij 2018.1版本及以上版本
**使用 IDE 内置插件系统:**
- Preferences(Settings) > Plugins > Browse repositories... > 搜索并找到"Dubbo" > Install Plugin
**直接下载**
- download[`lastest plugin zip`](http://ogyxv3y5w.bkt.clouddn.com/dubboPlugin-1.0.zip) -> Preferences(Settings) > Plugins > Install plugin from disk...
## 使用说明
- 如果使用了zookeeper 请搭建好zookeeper服务器
- 启动前 先修改生成项目 application.properties中的数据库连接配置 改成自己的数据库配置
- 如果要跑生成例子中的testcase 请将项目下的schema.sql 在数据库中执行下
[plugin]: https://plugins.jetbrains.com/plugin/10946