In this lunch time stream, we looked at an outstanding issue in the Cake Build Visual Studio Code Extension:
https://github.com/cake-build/cake-vs...
Which causes the file that is being added to, to be reformatted, stripping all whitespace. This is far from ideal.
Stepping through the code, it was refactored to remove the usage of a file stream which reads and writes all lines in the file being edited, and changed it to simply add/update the current file that is open.
Decisions had to be made regarding removing some functionality, as the way that things were implemented, meant that some functionality would be lost.
To find out about more of my live streams, you can visit this GitHub Repository:
https://github.com/gep13/live-streams
Where I am collecting ideas for additional topics for future live streams. Feel free to add an issue if there is something that you would like to see added.