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