Co-Funding PHPStorm (jetbrains.com) 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.
Go

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

Details

$12
Committed
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 jetbrains.com?
Claim jetbrains.com >>

Suggestion Made By : Someone
Suggestion Made : 27 Jan 2015
Short URL : http://co-f.co/w
QR Code :

Awareness

$12
2
$6
2

Backing

Backing starts once the suggestion has been accepted

Change

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