Ich bin von Sublime Text zu PhpStorm bewegen, und ich frage mich etwas:Sortieren PHPDoc Parameter in PhpStorm
In Sublime Text, mit der PHPFMT Plugin aktiviert, die PHPDoc schrieb ich wurde ein bestimmtes Muster passen neu geordnet:
- @see
- @params
- @throws
- @return
Zum Beispiel, wenn ich diese PHPDoc schreiben:
/**
* StackOverflow test
*
* @throws Exception
* @param string $param1
* @return bool
* @param string $param2
* @param string $param3
* @see http://stackoverflow.com/questions/41509189/sort-phpdoc-parameters-in-phpstorm
*/
Es wird in dieser geändert werden bei speichern:
/**
* StackOverflow test
*
* @see http://stackoverflow.com/questions/41509189/sort-phpdoc-parameters-in-phpstorm
*
* @param string $param1
* @param string $param2
* @param string $param3
* @throws Exception
* @return bool
*/
Does PhpStorm so etwas wie dieses zur Verfügung stellen?