Skip to content

numq/protobuf-blueprint-plugin

Repository files navigation

Version Downloads

logo

🌟 Support this project
Bitcoin (BTC) bc1qs6qq0fkqqhp4whwq8u8zc5egprakvqxewr5pmx
Ethereum (ETH) 0x3147bEE3179Df0f6a0852044BFe3C59086072e12
USDT (TRC-20) TKznmR65yhPt5qmYCML4tNSWFeeUkgYSEV

**Protobuf Blueprint** is an Intellij Idea plugin that allows you to generate *Protocol Buffers* code using simple format.


logo

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Protobuf Blueprint" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Usage

  1. Go to Tools -> Protobuf Blueprint to open plugin tool window.
  2. Follow the format hint in the plugin tool window to generate the code.

Format Requirements:

Break the line to complete the input.

Message:

Use PascalCase for message names.

message messageName messageName messageName

Enum:

Use PascalCase for enum name and CAPITALS_WITH_UNDERSCORES for enum values.

enum enumName enum_value enum_value enum_value

Service:

Use PascalCase for service name and rpc names.

service serviceName rpcName rpcName rpcName

preview-full