Browser extension that provides EditorConfig support for GitHub
JavaScript HTML
Latest commit 1914fa7 Jun 8, 2015 @RReverser Update README.md

README.md

github-editorconfig

DEPRECATED: as of 08-Jun-2015, Github added native support for EditorConfig.

This is a browser extension that provides EditorConfig support for GitHub.

Download links

You can download extension for your browser from the corresponding store:

Description

Extension looks for .editorconfig files in the repository the current file belongs to, and applies it's settings to code viewer and editor. Branch is always taken into account.

On options page you can also set default editorconfig.

You can test extension on files in demo folder of this repo.

Extension is built with Kango - cross-browser extension framework.

Screenshots

Sample .editorconfig:

Sample .editorconfig

Code viewer (tabs are set to preconfigured width of 4 instead of GitHub's default 8):

Code viewer

Code editor (preconfigured options are chosen and marked as (auto); trim_trailing_whitespace and insert_final_newline are taken into account on commit):

Code editor

Options page (just a default .editorconfig):

Options page (default editorconfig)