sublime_alignment icon indicating copy to clipboard operation
sublime_alignment copied to clipboard

Could you support function comments alignment?

Open clms2 opened this issue 6 years ago • 0 comments

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!

clms2 avatar Aug 10 '18 06:08 clms2