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 4K
  • Win 2K
  • OS X 2K
  • Linux 759
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 4 0 3 3 4 4 6 6 0 1 5 5 1 5 4 7 5 8 9 5 5 3 0 6 4 12 11 4 13 2 2 8 1 3 3 2 2 3 7 5 6 8 7 3 5 7
OS X 4 2 0 2 6 7 4 6 2 0 4 4 4 1 3 1 1 3 2 2 4 3 1 1 3 5 3 4 5 2 1 9 7 10 5 4 1 1 7 6 7 0 7 0 0 3
Linux 2 3 1 1 2 0 4 2 1 1 2 2 2 3 3 1 3 3 4 5 3 0 1 2 7 0 3 2 0 0 2 5 2 4 0 3 1 6 1 3 1 1 2 1 2 5

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