Giter Site home page Giter Site logo

editorconfig-textmate's Introduction

EditorConfig—TextMate PlugIn

This is a TextMate plug-in that provides support for Editor Config. 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/downloads/Mr0grog/editorconfig-textmate/editorconfig-textmate-0.2.tar.gz

Works in both TextMate and TextMate 2 Alpha (as of build 9147).

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 GitHub's downloads page:

https://github.com/Mr0grog/editorconfig-textmate/downloads

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

editorconfig-textmate's People

Contributors

mr0grog avatar desandro avatar

Watchers

Hong Xu avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.