EditorConfig helps developers maintain consistent coding styles between different editors
$ apm install editorconfig
Or Settings → Packages → Search for editorconfig
See the EditorConfig documentation.
- root
- indent_style
- indent_size
- charset (supported values:
latin1
,utf-8
,utf-16be
,utf-16le
)
- Applies the above settings from your
.editorconfig
file - Syntax highlights
.editorconfig
files
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
MIT © Sindre Sorhus