Kind TextMate folk,
A BBEdit feature I find myself missing is the Markup -> Utilities -> Format menu option. this opens a window with several different options for markup formatting. Is there something like this in TextMate?
thanks! tm rulz. ;0)
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools http://scan.dalo.us
Long ago I installed XMLStarlet (http://xmlstar.sourceforge.net/) which is a xml command-line utility (one of which is formatting xml, validation, etc.). Once installed I created a command in textmate like this:
xml fo $TM_FILEPATH
Set the output to replace document with input set at none.
Works great.
Alan
On Mar 8, 2007, at 10:56 AM, Todd Ditchendorf wrote:
Kind TextMate folk,
A BBEdit feature I find myself missing is the Markup -> Utilities -
Format menu option. this opens a window with several different
options for markup formatting. Is there something like this in TextMate?
thanks! tm rulz. ;0)
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools http://scan.dalo.us
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
thanks so much alan... this works great. xmlstarlet is cool too.
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools http://scan.dalo.us
On Mar 8, 2007, at 10:15 AM, Alan Gardner wrote:
Long ago I installed XMLStarlet (http://xmlstar.sourceforge.net/) which is a xml command-line utility (one of which is formatting xml, validation, etc.). Once installed I created a command in textmate like this:
xml fo $TM_FILEPATH
Set the output to replace document with input set at none.
Works great.
Alan
On Mar 8, 2007, at 10:56 AM, Todd Ditchendorf wrote:
Kind TextMate folk,
A BBEdit feature I find myself missing is the Markup -> Utilities -
Format menu option. this opens a window with several different
options for markup formatting. Is there something like this in TextMate?
thanks! tm rulz. ;0)
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools http://scan.dalo.us
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
hi,
On Mar 8, 2007, at 5:56 PM, Todd Ditchendorf wrote:
A BBEdit feature I find myself missing is the Markup -> Utilities -
Format menu option. this opens a window with several different
options for markup formatting. Is there something like this in TextMate?
I don't know BBEdit so this might not be what you are looking for. In the XML Bundle you have a Tidy option that will format a well-formed XML file.
Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ Jabber ID: melo@simplicidade.org Use Jabber!