Lei Lionel
Lei Lionel

Reputation: 1273

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

Upvotes: 1

Views: 141

Answers (1)

Barmar
Barmar

Reputation: 781038

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.

Upvotes: 1

Related Questions