Great article! Just wanted to add an option that you should use together (and anyways) with "files.trimFinalNewlines": true
"files.insertFinalNewline": true (default false)
To make sure your files are POSIX compliant :)
That's the best suggestion here!
SourceTree (and presumably Git), includes the previous last line in a change, when you add more lines to the end of the file, if you don't have a blank line at the end of a file.
It doesn't make much difference, but just looks unnecessary when reviewing changes before committing.
Excellent, I was just wondering about that!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.