Visual Studio - blank line at the end of each new file
问题 Why does VS add a blank line at the end of each new file I create? I use VS to create .NET projects (not C++ or something). Is there any special reason? Historical compatibility with compilers and parsers? Can I disable this?? 回答1: It is recommended to have a blank line at the end of each file for navigability purposes. Think what happens if someone opens your code with vim for example and uses a keymap to jump from empty line to empty line. Or, if he decides to add another portion of code at