This is a TextMate plug-in that provides support for EditorConfig. It will cause TextMate to set its editing features (e.g. tab style and size) according to a .editorconfig
file you include alongside your source code.
Download it now at: https://github.com/Mr0grog/editorconfig-textmate/releases/latest
Works in both TextMate and TextMate 2 Alpha (as of build 9487, October 8th, 2013).
The following Editor Config features are supported:
- root
- indent_style ("tab" or "space")
- indent_size
- tab_width
The end_of_line
feature is not yet supported. Neither are upcoming features like charset
, trim_trailing_whitespace
, and insert_final_newline
.
You can download a precompiled binary from:
https://github.com/Mr0grog/editorconfig-textmate/releases/latest
Just un-tar it and double-click the editorconfig-textmate.tmplugin
file to install.
If TextMate 2 is set as your default TextMate, you may need to manually drag editorconfig-textmate.tmplugin
into ~/Library/Application Support/TextMate/PlugIns/
.
Currently, editorconfig-core is included as a precompiled binary, but it really should be included as a submodule, with an appropriate build target in Xcode.
Support for end_of_line
is also needed, but I have to figure out exactly how to do it in TextMate first :P
While this plug-in does support the TextMate 2 Alpha, please keep in mind that alpha software is subject to great change. It could break in future releases of TextMate. If this happens, please file an issue: https://github.com/Mr0grog/editorconfig-textmate/issues