dubbo-go icon indicating copy to clipboard operation
dubbo-go copied to clipboard

Intellij Plugin Support

Open ChangedenCZD opened this issue 3 years ago • 0 comments

This is a Dubbo-Go Project tool.

This Plugin is only for IntelliJ IDEA And GoLand. Which is base on Dubbo-Go and more flexible and convenient. Welcome to issue and PR.

Feature

Feature IDEA GoLand
Hessian2 Generator ✅️ ✅️
New Project/Module ✅️ ✅️

Project/Module Template

Project/Module Template Progress
Sample ✅️
Empty Project ✅️

Empty Project Template Middleware

Middleware Module Support
Web Service Gin ✅️
Memory Cache Redis ✅️
Database Gorm ✅️

Install

  • Using IDE built-in plugin system on Windows:
    • File > Settings > Plugins > Browse repositories... > Search for "Dubbo Go" > Install Plugin
  • Using IDE built-in plugin system on MacOS:
    • Preferences > Settings > Plugins > Browse repositories... > Search for "Dubbo Go" > Install Plugin
  • Manually:
    • Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...
    • From official jetbrains store from download

Restart IDE.

Usage

Create Project

1. New Project

2. Choose Dubbo Go Project

3. Custom Config

  • Select dubbo registry
  • Add some middlewares

Generate Hessian Register Statement

Valid only in *.go files.

1. Open Generate Menu and Choose Dubbo-Go Hessian Generator

2. Choose Go Struct

You can see Only Generate {StructName} option when you are right click in the type declare line.

3. Generate complete

code

issues

ChangedenCZD avatar Feb 11 '22 09:02 ChangedenCZD