I can\'t figure out how to configure notepad++ to display regions for user defined keywords.
I have a big trace file which shows the start and the end of a procedure
!! Disclaimer: Total noob at PHP !!
Assuming that you are wrapping your PHP in some HTML, you can define custom sections using <?php and
?>.
Ex:
<html>
<head></head>
<body>
<?php
$cities[1] = "Phoenix";$cities[2] = "Tucson";$cities[3] = "Flagstaff";
$capitals['CA'] = "Sacramento";$capitals['TX'] = "Austin";$capitals['OR'] = "Salem";
$cities[] = "Phoenix";$cities[] = "Tucson";$cities[] = "Flagstaff";
echo "Here are cities: $cities[1]";echo nl2br("\n");
?>
</br>
<?php
$cities = array( "Phoenix","Tucson","Flagstaff");
$capitals = array( "CA" => "Sacramento","TX" => "Austin","OR" => "Salem",);
echo $capitals['TX'];echo nl2br("\n");
?>
<body>
</html>
Notepad++ will then allow you to collapse the sections arbitrarily and you can label the sections with "#". Just learning PHP, so my code might not be awesome; It's still an ongoing process.