How to use the edit context menu to code smarter and quicker by ApiHug Api design Copilot

Also refer to the Shortcuts

Add File

  1. Select proto module’s src>main>proto
  2. Right click
  3. Select Add Proto File
  4. Select right type proto file
ApiHug Add file

Edit Message

  1. Select option (hope.domain.kind) = BEAN; kind proto file
  2. right click(shortcut), show up ApiHug menu context
  3. Add Message: Add a new Message
  4. Add Field: Add a primitive type field
  5. Add Field(Reference): Add field reference to another proto object(Message/Enum)
ApiHug Add Message

Edit Service

  1. Select option (hope.domain.kind) = IDL; kind proto file
  2. right click(shortcut), show up ApiHug menu context
  3. Add Service: Add a new Service
  4. Add Method: Add a new method to Service
ApiHug Add Service

Edit Enum

  1. Select option (hope.domain.kind) = ENUM; kind proto file
  2. right click(shortcut), show up ApiHug menu context
  3. Add Enum: Add a new Enum
  4. Add Enum Item: Add a Enum Item
ApiHug Add Enum

Edit Error

  1. Select option (hope.domain.kind) = ERROR; kind proto file
  2. right click(shortcut), show up ApiHug menu context
  3. Add Error: Add a new Error
  4. Add Error Item: Add a Error Item
ApiHug Add Error

Edit Entity

  1. Select option (hope.domain.kind) = ENTITY; kind proto file
  2. right click(shortcut), show up ApiHug menu context
  3. Add Entity: Add a new Entity
  4. Add Column: Add a new Column
ApiHug Add Entity

Reference

  1. ApiHug101-Bilibili
  2. ApiHug101-Youtube