Hi,
We can, in a project, create a new file using a template. We can of course customize/create new template(s), but as they are located in the application packet, we have to re-do the job every time the application is upgraded (every night in fact:). Could we have customized templates stored in : ~/Library/Application Support/TextMate/Bundles/Custom.tmbundles, side-by-side with Macros and Snippets?
Or could we save "template" files "as stationery"
On 15. Oct 2004, at 22:25, José Campos wrote:
Could we have customized templates stored in :
~/Library/Application Support/TextMate/Bundles/Custom.tmbundles, side-by-side with Macros and Snippets?
Yes, you can already do that (and you should ;) ).
You can also, if e.g. you wish to change the default HTML templates, create a new directory: ~/Library/Application Support/TextMate/Bundles/HTML.tmbundles/Templates
And these will overshadow the default HTML templates (but the default HTML macros, snippets, commands, etc. are still available).
Kind regards Allan
Allan Odgaard allan@macromates.com wrote:
And these will overshadow the default HTML templates (but the default HTML macros, snippets, commands, etc. are still available).
OK, I'll try this,
Thanks a lot,
Allan Odgaard allan@macromates.com wrote:
You can also, if e.g. you wish to change the default HTML templates, create a new directory: ~/Library/Application Support/TextMate/Bundles/HTML.tmbundles/Templates
And these will overshadow the default HTML templates (but the default HTML macros, snippets, commands, etc. are still available).
Great! It works very fine indeed, and combined with the new "Drag Anchors" in last night ß5, it's really a pleasure to create Web pages ;-)
Have a nice week-end,