Posted By

rareyman on 02/12/10


textmate html perl

Versions (?)

Who likes this?

4 people have marked this snippet as a favorite


FHTML (for TextMate)

 / Published in: Perl

I modified this excellent Perl script, created by John Watson ( to be used with TextMate to reformat your HTML for easier readability. Here's how to use it:

  1. In TextMate > Bundles > Bundle Editor > Show Bundle Editor
  2. Create a New Command (I call it "Reformat HTML")
  3. On right pane: Save: Nothing : Command: (insert code)
  4. Bottom right pane: Input: Selected Text or Document
  5. Bottom right pane: Output: Replace Selected Text
  6. Settings: Key Equivalent: (whatever you want, I use: Command-Option-Shift-F which matches old school BBEdit)
  7. Scope Selector: text.html

Report this snippet  


RSS Icon Subscribe to comments
Posted By: ankie147 on June 9, 2018

This allow me proper modification and provide me too easy coding file explorer windows 10 and now I have ensure of my decision for it.

You need to login to post a comment.