2020-04-07 20:46:46 +08:00
|
|
|
# See http://editorconfig.org to read about the EditorConfig format.
|
2021-03-10 23:27:19 +08:00
|
|
|
# - In theory automatically supported by VS2017+ and most common IDE or text editors.
|
2022-07-04 16:16:38 +08:00
|
|
|
# - In practice VS2019-VS2022 stills don't trim trailing whitespaces correctly :(
|
|
|
|
# - Suggest installing this to trim whitespaces:
|
|
|
|
# GitHub https://github.com/madskristensen/TrailingWhitespace
|
|
|
|
# VS2019 https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespaceVisualizer
|
|
|
|
# VS2022 https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespace64
|
|
|
|
# (in spite of its name doesn't only visualize but also trims)
|
2021-03-10 23:27:19 +08:00
|
|
|
# - Alternative for older VS2010 to VS2015: https://marketplace.visualstudio.com/items?itemName=EditorConfigTeam.EditorConfig
|
2018-08-23 13:19:55 +08:00
|
|
|
|
|
|
|
# top-most EditorConfig file
|
|
|
|
root = true
|
|
|
|
|
|
|
|
# Default settings:
|
|
|
|
# Use 4 spaces as indentation
|
|
|
|
[*]
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
2019-01-17 05:02:42 +08:00
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
|
2019-01-21 00:51:30 +08:00
|
|
|
[imstb_*]
|
|
|
|
indent_size = 3
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
2019-01-17 05:02:42 +08:00
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 4
|