Skip to content

Docs should wrap at line limit, not at "\n" #1089

Open
@Egorand

Description

@Egorand

Proto:

enum Option {
  /**
  * This is the default option. Its documentation should wrap not at
  * the "\n" symbol but at the right place according to the line limit.
  */
  DEFAULT = 1;
}

generates:

enum class Option(
  override val value: Int
) : WireEnum {
  /**
   * This is the default option. Its documentation should wrap not at
   * the "\n" symbol but at the right place according to the line limit.
   */
  DEFAULT(1);
...

should be:

enum class Option(
  override val value: Int
) : WireEnum {
  /**
   * This is the default option. Its documentation should wrap not at the "\n" symbol but at the 
   * right place according to the line limit.
   */
  DEFAULT(1);
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions