EditorConfigSnippets
A set of snippets for EditorConfig files
Details
Installs
- Total 12K
- Win 6K
- Mac 4K
- Linux 2K
Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
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.