I don't know why so many people are even using # VisualStudio for decidedly non-Microsoft development..., but here's how to get them to stop messing up your EOFs: https://stackoverflow.com/questions/44704968/visual-studio-code-insert-new-line-at-the-end-of-files