An EditorConfig plug-in for TextMate
C++ C Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
editorconfig-textmate.xcodeproj Include PCRE license file (this really should have been included before) May 26, 2016
editorconfig-textmate
lib
source Fix new file path timing issue in `-setDocument:` Nov 18, 2016
.gitignore
.gitmodules Adding editorconfig-core as a submodule Mar 18, 2013
LICENSE Update copyright dates, fix licensing info to properly reference MIT … May 26, 2016
README.md Update copyright dates, fix licensing info to properly reference MIT … May 26, 2016

README.md

EditorConfig—TextMate PlugIn

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).

Feature Support

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.

Installation

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/.

To-Do

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

TextMate 2

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

License

This plug-in is open source. It is copyright (c) 2012-2016 Rob Brackett and licensed under the MIT license. The full license text is in the LICENSE file.