Co-Funding PHPStorm ( RSS

Automatically add End If comments

This improvement has been suggested

Suggestion Description

Automatically add End If comments

I would like a feature in PHPStorm where when I create an if statement and the contents are longer than a configurable number of lines, it will automatically add an end if comment as follows:


if ($variable == true) {

    // More than [10] lines of content

} // end if ($variable == true) [Added by this feature]


As you can see it simply adds "// end" and the complete if statement, save for the opening { (if it is on that line)

YES! I too would pay
to make this happen.

Leave this blank if you are human

Making this commitment does not obligate you for payment. Terms

We will not pass on your details to anybody unless you explicitly allow us to. Privacy policy

    • Technology


No Target Set
Company Status: Unidentified

We have not yet connected with this company or individual, so it is important to understand that they may not be aware of or wish to acknowledge suggestions

Do you own
Claim >>

Suggestion Made By : Someone
Suggestion Made : 27 Jan 2015
Short URL :
QR Code :




Backing starts once the suggestion has been accepted


Once the change has been made, Co-Funders vote to approve the change