BryanH / CommentBanner

Add a fancy *-box to each selection in Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comment Banner

Add a fancy *-box to each selection in Sublime Text. The box fits in 80 chars including the language dependend comment symbol. - supports multi line selection - supports multi cursor selection

The default hotkey is The default hotkey is alt shift b

Usage

Select the text you like to box.

Type the shortcut.

Examples

test

<select the word test>
<press hotkey>

result:

********
* test *
********

Known Issues

  • lines that contain more than 76 chars to do not wrap automatically. This will be added in a later version.
  • the comment boxes aren't formatted correctly for HTML-files. This problem occurs because of the length of the comment tag. You can easily fix it manually. I'm assuming this plugin isn't very useful in HTML.

About

Add a fancy *-box to each selection in Sublime Text


Languages

Language:Python 100.0%