HTTPS SSH

SublimePlugins

My small collection of plugins for Sublime Text 2 text editor. For now, it contains the following plugins:

  • Typograph plugin
  • Fold region plugin

Typograph

A simple plugin that passes selected text (or the whole buffer) to the typographic service and replaces contents of the buffer with the response. The typographic service replaces quote symbols with &laquo; and &raquo;, adds <p> tags, and so on.

Fold region

This plugin can be an extended replacement for default Sublime Text 2 code folding command. It can fold text between region comments that you put in your code. As for now it supports only one region comment style, more will be added in the future.

For example, the text:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin imperdiet neque at enim porta porta cursus urna porttitor.
#region test
Etiam tincidunt rhoncus justo in suscipit. Vivamus at ante quis orci pretium rhoncus id porta nunc. Vestibulum sed dui vulputate turpis fringilla euismod eu faucibus dui. Integer fermentum erat non nulla dictum condimentum. Nam auctor aliquet erat, sit amet ultrices diam varius non. Maecenas eget diam massa.
#endregion
Sed feugiat aliquet nibh a tempor. Etiam turpis risus, elementum in interdum ut, blandit et erat. Curabitur vel lectus commodo lacus commodo congue.

After calling the plugin becomes:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin imperdiet neque at enim porta porta cursus urna porttitor.
#region test
<...>
#endregion
Sed feugiat aliquet nibh a tempor. Etiam turpis risus, elementum in interdum ut, blandit et erat. Curabitur vel lectus commodo lacus commodo congue.