Skip to content

Could you support function comments alignment? #92

Description

@clms2

Hi, I have installed a sumlime plugin called DocBlockr for better function comments, when I finished writing a function it will looks like this:

/**
  * Get order list
  * @param  integer $user_id User unique id
  * @param  string $type Type of list data
  * @param  integer $page_size Per page rows
  * @param  integer $last_order_subscribe_id Last list row id
  * @param  integer $need_status_type_map If need return status type map
  * @return json string
  */
  public function getOrderSubscribeList(...) { }

but its not pretty good looks like, I will manually pad spaces to make it looks like this:

/**
  * Get order list
  * @param  integer $user_id                   User unique id
  * @param  string  $type                      Type of list data
  * @param  integer $page_size                 Per page rows
  * @param  integer $last_order_subscribe_id   Last list row id
  * @param  integer $need_status_type_map      If need return status type map
  * @return json string
  */
  public function getOrderSubscribeList(...) { }

Hope it will possible to support function comments alignment, thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions