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

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.