diff-saver READMEThis extension was an exercise in creating a way to share git diffs of specific parts of files. Often GitHub will show more parts of the files changed than actually did, or get messy with whitespace or rearranging changes. This allows users to paste in the code before and after the changes, and will spit out a file that can be shared or viewed by anyone. The biggest hurdle to this extension was that GitHub doesn't allow you to upload .html files. You can save your diff as a .patch file, which can be uploaded to GitHub, and then opened in VSCode and viewed (usually with an extension). UseI suggest opening a new VSCode instance by pressing Ctrl (Cmd) + Shift + N if you have another monitor available. It just makes it cleaner to use. In the new instance, press Ctrl (Cmd) + Shift + P and search for any of the commands below
FeaturesThere are 3 commands in this extension.
RequirementsI suggest downloading an extension to view .patch files. The one I prefer is Diff Viewer. It actually uses the same library as this extension does under the hood |