Code Formatter: Method Chaining
Is it possible to format code like this?
<?php
$person = new Person();
$person->setName('Flo')->setAge(21)->displayPerson();?>The best i have achieved is:
<?php
$person = new Person();
$person->setName('Flo')->setAge(21)->displayPerson();?>I didnt find any option to insert an indent before the ->, is this possible?
请先登录再写评论。
After trying some more options i think it`s really impossible right now ... created a Bug Ticket, please vote for http://youtrack.jetbrains.net/issue/WI-1861