How to disable auto close heredoc statement?

In Intellij IDEA when I typing in php file heredoc statement:

echo <<<END

And after press "Enter", "END" statement add automatically. Like this:

echo <<<END

END

I want disable this behavior, as sometimes, don't need closing "END", because it's already exist for example.

I read almost all docs, especially section "Editor" -> "General" -> "Smart keys", there is some similar controllers, but no for heredoc auto close. Where it can be disabled? Thanks.

0
2 comments

There is no way to configure this behaviour. However, in a case when there is a closing tag exists already, auto-completion should not be triggered. 

Would it be possible to share an example when it happens nevertheless?

0

Thanks for quick answer. Sorry for delay, it also not reproducible, maybe I was wrong. At least I know this behavior can't be changed. 

0

Please sign in to leave a comment.