Monday 7 March 2016

Sublime Text ASCII Art

Splitting your content into separate files for HTML, CSS and JS is a brilliant idea but sometimes you simply need to smudge it all together - even huge quantities of JS - and that can make navigating through lines and lines of script a pain.

If you use Sublime Text (and if you're not, why not?) then you can install this plugin or you can do what I do and use the excellent Text to ASCII Art Generator (TAAG) to generate lovely comments like this:

/*
 .d8888b.                    888 
d88P  Y88b                   888 
888    888                   888 
888         .d88b.   .d88b.  888 
888        d88""88b d88""88b 888 
888    888 888  888 888  888 888 
Y88b  d88P Y88..88P Y88..88P 888 
 "Y8888P"   "Y88P"   "Y88P"  888 
 */

Quite apart from making things easier, it's also readable in the minimap so you can scroll to just where you need to be!

This is mainly up for my own reference but if it helps all good!

No comments:

Post a Comment