re: VS Code settings you should customize VIEW POST

FULL DISCUSSION
 

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.

 
code of conduct - report abuse