Welcome Guest, Not a member yet? Register   Sign In
Useful utility: Comment Headings
#1

[eluser]Dave Stewart[/eluser]
Hi all,
Not strictly Code Igniter-related, but I updated one of my many projects the other day: Comment Headings.

It makes for easy navigation of ActionScript, PHP, or any other programming source code files, by allowing you to place dirty great LARGE headings in them:

Code:
//--------------------------------------------------------------------------------------------
//
//    ██████      ██              ██             ██   ██        ██   ██             ██      
//    ██  ██                      ██             ███ ███        ██   ██             ██    
//    ██  ██ ████ ██ ██ ██ █████ █████ █████     ███████ █████ █████ █████ █████ █████ █████
//    ██████ ██   ██ ██ ██    ██  ██   ██ ██     ██ █ ██ ██ ██  ██   ██ ██ ██ ██ ██ ██ ██    
//    ██     ██   ██ ██ ██ █████  ██   █████     ██   ██ █████  ██   ██ ██ ██ ██ ██ ██ █████
//    ██     ██   ██  ███  ██ ██  ██   ██        ██   ██ ██     ██   ██ ██ ██ ██ ██ ██    ██
//    ██     ██   ██  ███  █████  ████ █████     ██   ██ █████  ████ ██ ██ █████ █████ █████
//
//--------------------------------------------------------------------------------------------
// Private Methods

    // some method

    // another method

    // etc

Looks slightly spaced out in the forum, but compare navigating the two files below:
A Comment Heading commented file
A normally commented file

Or check out the live demo, and download link, here:
http://www.keyframesandcode.com/code/dev...-headings/

Just thought it might be useful to some of you - I know I find it invaluable now.

Cheers,
Dave


Messages In This Thread
Useful utility: Comment Headings - by El Forum - 11-19-2008, 04:54 PM
Useful utility: Comment Headings - by El Forum - 11-20-2008, 03:04 AM
Useful utility: Comment Headings - by El Forum - 11-20-2008, 04:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB