![Webstorm php](https://cdn2.cdnme.se/5447227/9-3/23_64e61dfde087c337bd195b74.jpg)
Among many IDEs available to PHP developers, PhpStorm stands out as one of the most adopted IDEs in software development companies however, there are alternatives to PhpStorm available for PHP developers to explore. Software development with the PHP programming language is a venture many developers enjoy as long as they have the right integrated development environment (IDE) solution. For more info, visit our Terms of Use page. This may influence how and where their products appear on our site, but vendors cannot pay to influence the content of our reviews. We may be compensated by vendors who appear on this page through methods such as affiliate links or sponsored partnerships.
![webstorm php webstorm php](https://www.jetbrains.com/phpstorm/img/screenshots/2020.1/phpstorm_navigation@2x.png)
PhpStorm is very popular among PHP developers however, there are worthy free and paid alternatives. Best alternatives to PhpStorm (paid and free) Also I hope you get back to us with your findings and improvement suggestions which can be submitted at.
![webstorm php webstorm php](https://blog.jetbrains.com/wp-content/uploads/2011/09/webide-Screen-Shot-2011-09-27-at-22.09.02--1024x640.png)
Try this feature in PhpStorm & WebStorm 4.0 EAP. Keep your code clean and readable even without any extra folding regions. I would like also to stress that using custom folding regions is not a panacea from a badly structured code. I guess it’s needless to say that mixing custom region styles in one project is a bad practice. The IDE will recognize only the first it can find and assume this is a style you have chosen for your code. Note that you can not mix up two styles in one file. In general the IDE uses typical language line comments for any kind of style. The whole code gets hidden behind “My description”, the text I have specified as a value of “desc” attribute.”defaultstate” attribute is supported too but not added automatically.įor VisualStudio-like range comments PhpStorm/WebStorm adds “//” comment instead of “#” although “#range” is recognized too. Now I can collapse the region just like any other code folding region:
![webstorm php webstorm php](http://www.phpstorm-themes.com/sites/default/files/php_1.jpg)
If you don’t have any custom folding regions yet, you can choose either style. I press Ctrl+Alt+T now to get “surround with” action options:Īs you can see there are two custom folding items: “” for NetBeans-like style and “region.endregion” for VisualStudio style. I start with the following code and select a code region I would like to fold: This long-awaited feature gives you a possibility to define your own code-folding regions with special line comments.
![Webstorm php](https://cdn2.cdnme.se/5447227/9-3/23_64e61dfde087c337bd195b74.jpg)