[TxMt] Re: Newbie Customization of Tidy
Jacob Rus
jrus at hcs.harvard.edu
Thu Nov 9 03:47:08 UTC 2006
hcabbos wrote:
> Can anyone point me to instructions on how to modify HTML Tidy's formatting
> of documents. There's a bunch of stuff that happens that I don't care
> for...stuff that running HTML Tidy in BBEdit doesn't do.
You'll have to clarify. What exactly happens that you don't like? How
would you prefer the command to work? Which options from tidy (there
are several dozen, almost all of which seem pretty stupid to me :p) do
you want TextMate to expose to the user?
For more on creating TM commands, the TM manual has a pretty good
explanation.
> I'd love Dreamweaver's method of formatting within TextMate--at least for HTML
> files. What's nice about BBEdit is that it allows you to point to Dreamweaver's
> SourceProfile.txt file as a custom profile for source formatting.
You could certainly build this feature yourself. But if you want
someone else to help you out with that, you'll have to explain how it works.
* * *
I think it would maybe be worthwhile to put some sort of GUI dialog in
front of a tidy command. But which options are needed? Keeping the
interface as super simple as possible also has many benefits (such as
keeping people from making unreadable unindented html ;).
More information about the textmate
mailing list