phpidephpstormphp-ide

PhpStorm : Combine multiple lines by using icons


Normally on notepad there are some icons which allow us to combine multiple lines of code to end up having only one line.

enter image description here

I am using PhpStorm 10.0.1, is there any way for me to get this option.

Kindly help me solve this problem


Solution

  • PhpStorm has the same thing.

    enter image description here

    Click on the enter image description here to collapse the block of code. Then click on enter image description here to expand it.

    This is explained in more detail in the documentation on code folding

    If you don't see these icons, go to Preferences > Editor > General > Code Folding and enable Show code folding outline.