2
0

.editorconfig 1.0 KB

12345678910111213141516171819202122232425262728
  1. # See http://editorconfig.org to read about the EditorConfig format.
  2. # - In theory automatically supported by VS2017+ and most common IDE or text editors.
  3. # - In practice VS2019-VS2022 stills don't trim trailing whitespaces correctly :(
  4. # - Suggest installing this to trim whitespaces:
  5. # GitHub https://github.com/madskristensen/TrailingWhitespace
  6. # VS2019 https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespaceVisualizer
  7. # VS2022 https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespace64
  8. # (in spite of its name doesn't only visualize but also trims)
  9. # - Alternative for older VS2010 to VS2015: https://marketplace.visualstudio.com/items?itemName=EditorConfigTeam.EditorConfig
  10. # top-most EditorConfig file
  11. root = true
  12. # Default settings:
  13. # Use 4 spaces as indentation
  14. [*]
  15. indent_style = space
  16. indent_size = 4
  17. insert_final_newline = true
  18. trim_trailing_whitespace = true
  19. [imstb_*]
  20. indent_size = 3
  21. trim_trailing_whitespace = false
  22. [Makefile]
  23. indent_style = tab
  24. indent_size = 4