1

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

Barmar
  • 741,623
  • 53
  • 500
  • 612
Lei Lionel
  • 1,263
  • 13
  • 20
  • 1
    This is called "folding" code, not "combining" it, and you should already have similar icons on your screen in PHPStorm. See https://www.jetbrains.com/help/phpstorm/10.0/code-folding.html – elixenide Jun 23 '16 at 22:54

1 Answers1

1

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.

Barmar
  • 741,623
  • 53
  • 500
  • 612