ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Editor​Config​Snippets

by mfuentesg ST2/ST3

A set of snippets for EditorConfig files

Details

Installs

  • Total 5K
  • Win 2K
  • OS X 2K
  • Linux 926
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4
Windows 4 2 5 0 2 3 6 2 5 5 4 4 2 2 4 3 7 8 1 2 2 4 2 0 4 2 1 1 4 2 4 6 5 1 3 3 3 3 4 4 2 2 4 7 4 9
OS X 4 4 2 7 4 0 1 1 3 4 3 5 1 2 7 5 1 3 3 3 1 2 1 6 3 4 1 0 4 4 2 5 3 0 2 1 2 6 4 2 4 0 3 4 3 3
Linux 1 1 3 1 1 0 0 1 1 3 3 6 0 1 2 2 0 1 2 3 1 3 3 2 0 3 1 1 4 1 4 4 1 1 1 4 2 1 2 1 2 1 4 0 1 1

Readme

Source
raw.​githubusercontent.​com

EditorConfigSnippets

EditorConfigSnippets is a set of snippets for .editorconfig files.

Installation

It is recommended install EditorConfig.

With Package Control

To install this plugin you can use Package Control and looks for EditorConfigSnippets.

With Git

Clone this repository to Packages folder

cd /path/to/Packages
git clone https://github.com/mfuentesg/EditorConfigSnippets

Snippets Available:

The snippets are independent, so each has similar properties. Each snippet works on the .editorconfig scope, and you can call it using the following triggers.

  • editor-base
  • editor-bash
  • editor-c
  • editor-cpp
  • editor-frontend
  • editor-go
  • editor-javascript
  • editor-md
  • editor-php
  • editor-perl
  • editor-python
  • editor-ruby
  • editor-txt

My recommended Settings

root = true

[*]
max_line_length = 100
end_of_line = lf
indent_style = space
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.sh]
indent_size = 2

[*.html]
indent_size = 2

[*.{js,json}]
indent_size = 2

[*.{css,styl,scss,less,sass}]
indent_size = 2

[*.php]
indent_size = 4

[*.rb]
indent_size = 2

[*.py]
indent_size = 4

[*.txt]
indent_size = 4

[*.{c,cpp}]
indent_size = 4
trim_trailing_whitespace = false
insert_final_newline = false

[*.go]
indent_size = 2
indent_style = tab

[*.md]
trim_trailing_whitespace = false
indent_style = tab

Contributions

You are welcome to generates a PR with your favorite guidelines.