new features
version comparison
features: php tools
php debugger
php profiler
php frameworks
php scripts
features tour
php testing
PhpED difference
PhpED on Mac/Linux

PHP Code folding Flash Demo

PhpED Code folding is another great productivity booster added to the array of NuSphere PHP Tools. With Code Folding you can selectively hide and display sections of a currently-edited file. PHP IDE displays the collapsible regions of the code with folding marks. You can manage large regions of potentially complicated text within one window, while still viewing only those subsections of the text specifically relevant to the editing session.

PhpED allows you to mark and collapse any part of the text in the editor. In addition to the manual selection, PhpED Code Folding also automatically detects and marks the following elements in PHP code:
  • PHP tags
  • PHP Comments
  • PHP Classes
  • Methods in PHP Classes
  • PHP Functions
PHP Code folding

PHP Code settings

As everything else in NuSphere's PHP Editor the behavior of Code Folding can be configured by the user. For example, you can set the color, the shape and the placement of the folding marks as well as many other elements of Code Folding. To modify PHP Code Folding you should:
  • Select Tools->Settings->Editor->Code Folding
  • Adjust the settings for Code Folding Settings using the controls shown here:
PHP Code folding Settings
You can set and modify:
  • Color used to display the folding mark when the cursor is not pointing to it
  • Color used to display the Folding Mark when the cursor is pointing to it
  • The following locations for the placement of the folding marks
    • Gutter
    • Memo style. Use it to place the folding marks inside of the PHP Editor.
    • Border

PHP Code Completion and Code insight

PHP Code Completion works seamlessly with Code folding in PhpED. Whether or not your PHP functions, variables and classes are inside of collapsed regions, PHP IDE will provide the hints or method code completion when and where you need them. PHP Code completion

In this tutorial you learned about the many features of the PHP Code Folding and how to use them to code PHP faster. Additional technical information is available from the NuSphere Forum. Download a free trial of our PHP IDE with PHP Code Folding today!

 Download NuSphere PHP IDE

Download a free trial of the fast PHP EDitor and robust Integrated Development Environment for PHP.

 Buy NuSphere PhpED® now

Best PHP Editor and complete PHP IDE.
NuSphere PhpED 21.0 is available from our online store front.
"To be honest its bloody awesome, I have looked at loads of PHP editors and this is THE only one that actual works straight out of the box!!! Brilliant, well done."
Andrew Breward,
Director of Technology


Walk through NuSphere PhpED interface
PhpED video tutorial: Webservices
Learn how to add webservices to your code in less than 5 minutes (a flash demo).

 Special Team4 Offer

Get 4 copies of PhpED for the price of 3!

Optimum solution for development teams.
PhpED 21.0 Team4
Need more than 4 licenses? Contact Us for more quantity discounts, please use "Ordering/Payment issue" subject on the form.

 Dr. Dobb's

Dr. Dobb's

Dr. Dobb's Magazine covers NuSphere PhpED in New and Noteworthy section.

PhpED is a proper, world-class IDE for PHP code. It is the only IDE worth considering if PHP development is your primary job