numq / protobuf-blueprint-plugin

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

Home Page:https://plugins.jetbrains.com/plugin/21792-protobuf-blueprint/versions/stable/333263

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version Downloads

logo

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

preview

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

About

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

https://plugins.jetbrains.com/plugin/21792-protobuf-blueprint/versions/stable/333263

License:MIT License


Languages

Language:Kotlin 100.0%