ryu1kn / vscode-partial-diff

Visual Studio Code Extension. Take a diff of 2 parts of text(s)
https://marketplace.visualstudio.com/items?itemName=ryu1kn.partial-diff
MIT License
184 stars 15 forks source link

Inability to diff whitespace #36

Closed BookOfGreg closed 5 years ago

BookOfGreg commented 5 years ago

Firstly thanks for the extension, it does really help.

Recently I was diffing two RFCs to see the difference: One and Two and I should see the errata in the diff but I do not as the errata was whitespace.

See attached screenshot: image

ryu1kn commented 5 years ago

Hello @BookOfGreg , I'm not sure if I get you right but if you meant that the whitespace (i.e. indentation) difference was not highlighted, you can actually visualise them as a diff by toggling Diff Editor: Ignore Trim Whitespace setting. It's not a Partial diff setting but the editor's diff view setting.

screen shot 2019-01-22 at 11 57 43 pm
BookOfGreg commented 5 years ago

That was it. Thanks! Seems like a strange thing to have as a default in VSCode but this isn't an issue here.