Sublime Forum

Shortcut for PHP comments

#1

Hello,
In Sublime Text 2 I want to create a php comment like this:

/**
 * Implements hook_permission().
 */
function windfarms_permission() {
  return array(
    'administer wind farms' => array(
      'title' => t('Administer Wind Farms'),
      'description' => t('Perform administrative tasks on Wind Farms functionality'),
    ),
  );
}

I tried ’ /* -> enter’ or ’ /** -> enter’. But I don’t get the closing slash.

Does exist in Sublime a shortcut to create a php comments?

Kind regards, bolshi

0 Likes

#2

I found DocBlockr just right now. The shortcut I was looking for :smile:

0 Likes