Skip to content

Instantly share code, notes, and snippets.

@vuhung3990
Created September 20, 2018 13:41
Show Gist options
  • Save vuhung3990/00d7b187f33580288b3ec11680f52fc9 to your computer and use it in GitHub Desktop.
Save vuhung3990/00d7b187f33580288b3ec11680f52fc9 to your computer and use it in GitHub Desktop.
EditorConfig for android project (2 space style)
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*.{java,kt,xml}]
end_of_line = lf
insert_final_newline = true
# Set default charset
[*.{java,kt,xml}]
charset = utf-8
# 2 space indentation
[*.{gradle,java,kt,xml}]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment