Format Space around object operator
Hy all,
I'm testing phpstorm and there's one option that i can't find, to format some space around object operators ( in PHP ).
Let's say that you've got this piece of code:
public function __construct() {
// create array with URL parts in $url
$this->splitUrl();
// Do some other stuff...
}
Then i wan't an space around the object operator ( -> ) like so:
public function __construct() {
// create array with URL parts in $url
$this -> splitUrl();
// Do some other stuff...
}
where can i customize my own scheme just like Netbeans with all the checkboxes...
Please sign in to leave a comment.
Hi there,
Settings | Code Style | PHP
But I do not think that IDE has an option for that. ATM it is actually removing spaces in such case (WI-23187).
Feel free to submit new Feature Request ticket to the Issue Tracker (but check for existing tickets first)