On 22 Dec 2011, at 00:48, Trevor Harmon wrote:
[…] callback.application.did-activate […]
[…] Would be nice if this were somehow built-in to TextMate, even if it were disabled by default.
Doing it as a bundle item is more flexible, e.g. you can enable the feature only when switching away from HTML files, only when working on a certain project, have the command reload the switched-to browser / all browsers, etc.
But it could go into a default bundle, that’s part of the motivation behind the (proof-of-concept) per-item “enable” check box for individual bundle items. This will allow us to introduce some requested features as bundle items which the user simply enable, another candidate being “Strip Whitespace on Save”.