V
V
vasIvas2015-08-18 22:24:13
JavaScript
vasIvas, 2015-08-18 22:24:13

Are there comment snippets for PhpStorm like in SublimeText3?

Has anyone seen these? Or maybe for someone to write such will not be a problem?

/**
 * [prop description]
 * @type {Number}
 */
var prop = 5;
/**
 * [prop description]
 * @type {String}
 */
var prop = '';
/**
 * [test description]
 * @param  {[Number]} a [description]
 * @param  {[Number]} b [description]
 * @param  {[Number]} c [description]
 * @return {[Number]}   [description]
 */
function test(a, b, c){
  return a + b+ c;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-08-18
@alexey-m-ukolov

Type /** above the function definition , press Enter - voila, DocBlock is ready!
Documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question