XHTML Autocomplete in TextMate
Posted on January 22, 2007
Filed Under /dev/null/ | 379 views |
A handy (perhaps vital?) tip for working with XHTML documents in TextMate. In order to get XHTML self-closing tags to work (ie: <image /> or <br />) in documents with an XHTML doctype, do this:
1. Go to Preferences -> Advanced -> Shell Variables
2. Create a new variable, named TM_XHTML with the value ‘ /’ (no quotes)
3. Bob’s your uncle.
(Thanks to Michael Larocque for that)
Comments
One Response to “XHTML Autocomplete in TextMate”
Hey, I resemble that remark!
Oh, and you’re welcome.