IDEA 14 PHP Smart Enter Issue
Hello Folks,
I had expierienced some issues by using IDEAs Smart Enter in PHP, with the PHP Plugin. When trying to CtrlShiftEnter in a line before a block closing "}", it takes the "}" to the current line, and sometimes setting the semicolon on the wrong place.
Here are some cases, you can test:
class Test
{
public $a = true;
public function execute()
{
if ($this->a) {
$this->alternate()|
//some comment
}
}
public function alternate()
{
}
}
The "|" is my cursor. Smart Enter transforms it to that:[...]public function execute()
{
if ($this->a) {
$this->alternate()|
}
}
becomespublic function execute()
{
if ($this->a) {
$this->alternate();}
}
and so on...
any way of fixing the Smart Enter behavior?
Please sign in to leave a comment.