Closed jacekkopecky closed 2 years ago
Hi @jacekkopecky! Thanks for your contribution and interest!
I'll take a look at the code as soon as possible.
In the meantime, could you please run yarn format
and commit the changes?
Sorry, of course, done. I have a new coding environment and it obviously hasn't picked up the prettier config. My bad.
@caponetto I realize that it's rather large-ish and combines multiple changes; I now also have a new addition in my fork at https://github.com/jacekkopecky/vscode-diff-viewer/tree/hyperlinks where you can click on a line number or on the file name and VSCode opens that file (on that line).
I've been thinking about it and maybe I could split my contributions like this:
Would you like that? Should I do just the first one for now so you can review it and suggest which one next?
Hey @jacekkopecky, Sounds good to me! I think splitting the code like you've said helps us moving forward faster. :)
Closing, will split into more manageable pieces.
Firstly, thank you for making this extension, it's really useful since I can't find anything around VS Code that can show me whole diffs rather than file-by-file.
This pull request is really a request for comments – I don't know if you like the direction or the code style... Anyway:
With this PR, the extension can save (in the diff file itself) what files you've viewed. On reloading a diff file, it will hide those files automatically.
Small improvements also included:
I'll be happy to answer any question or explain anything that's not clear. Let me know what you think.