tags:

views:

19

answers:

1

Ever since I've seen a .NET/C# developer encapsulate code in regions and have Visual Studio collapse the code I started encapsulating my php code in regions. Not quite as much fun (or as useful) when I can't collapse regions in my IDE. Can anyone help?

A: 

It's called code-folding in Eclipse, and there's a plugin you can get for it.

Rudu
Rudi, thanks for the response. I should have specified that code folding works for me when folding functions and comment blocks. It came that way with PHP-IDE. I just wanted to modify it to also fold #regions even though it is not typically done by php developers
Andrej