Home Download Buy Blog Forum Support

ASCII Decorator

ASCII Decorator

Postby viisual on Mon Feb 27, 2012 10:02 pm

Enabled for Package Control.
Git: https://github.com/viisual/ASCII-Decorator

Be gentle. First python anything and first sublime plugin.

I recently was watching the Humble Bundle Mojam and noticed one of the developers using Sublime Text 2.
I also noticed that he was using some ASCII style comment blocks to break up the code and allow for quick access via the mini map.

I thought it was awesome.

This gif sucks; where do I go to make one that doesn't?
Or am I supposed to like do that on my own... ;(


Here's an example of what I have put together so far:
Image

It's fairly basic, and I can't take much credit.

TODO/IDEAS:
  • I definitely plan to improve it, first things first I'm getting examples of all the fonts in the settings file.
  • I've been playing with indenting and spacing but I can't quite get it to line up properly (yet) but it's only an extra tab; you'll be fine.
  • More setting; I'm thinking an array of allowed fonts to display in a menu for quick selection, or maybe even random.
  • Haven't really tested multi line strings; that's not the purpose of this.
  • I'd like to be able to save the string locally and be able to replace the ascii art, like rotating through the fonts and stopping when you see one you like.

( Many thanks to Will Bond and Peter Waller )

Edit: Links added.
viisual
 
Posts: 9
Joined: Tue Feb 21, 2012 3:21 pm

Re: ASCII Decorator

Postby barbuk on Tue Feb 28, 2012 4:16 pm

Very cool idea, the plugin and using it to break up the code with nice ascii style comment blocks.

Thanks a lot
barbuk
 
Posts: 9
Joined: Wed Oct 26, 2011 8:03 am


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 10 guests