This plugin adds Emmet support for TextMate 2 editor (works on OSX 10.9+ only).
EmmetTextMate.tmplugin.zip
file from latest release.EmmetTextMate.tmplugin
file to install.Emmet plugin is completely free to use, but to make future development more sustainable, some useful features like Tab expander and Preferences UI are available after a paid upgrade.
A lot of TextMate features are bound to Tab key. Unfortunately, current TextMate API does not provide opportunity to register custom Tab key handler (as Sublime Text or Atom does). Which means that Emmet’s Tab key hanlder works mostly as a hack and may (not intentionally) break default behaviour. But it still tries to play nice with TM’s default handler:
ul>li
, .foo
) or single uppercased (like Foo
, Bar
) abbreviations that follow React components definition convention. Although inside string literals (e.g. inside ""
or ''
) it works as usual.