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

Editor​Config​Snippets

by mfuentesg ALL

A set of snippets for EditorConfig files

Details

Installs

  • Total 12K
  • Win 6K
  • Mac 4K
  • Linux 2K
May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 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
Windows 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 2 0 1 1 0 0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 2 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

EditorConfigSnippets

Buy Me A Coffee

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.