Skip to content

Commit

Permalink
TRUNK-5298 Add .editorconfig to force use of tabs in IDEs
Browse files Browse the repository at this point in the history
IntelliJ, Visual Studio Code and other IDEs/Editors support editorconfig
files out of the box, others like Eclipse, Atom, Sublime, Vim need a
plugin.

should help to reduce the spaces/tabs mess we are
currently seeing.

http://editorconfig.org/#overview
  • Loading branch information
teleivo committed Dec 30, 2017
1 parent 6172ced commit 9b23775
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
@@ -0,0 +1,8 @@
root = true

[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -78,3 +78,6 @@ nb-configuration.xml
#############

*.log

!.editorconfig

0 comments on commit 9b23775

Please sign in to comment.