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
186 stars 16 forks source link

Word wrap diff according to user settings #17

Closed karland closed 7 years ago

karland commented 7 years ago

@ryu1kn Great tool, thank you. I am comparing two books written in Markdown and the diff file does not word-wrap. The diff file ignores all user settings with regard to word-wrapping. This makes it difficult to compare paragraphs that are longer than 80 letters, because you then always have to scroll left and right.

Am I doing anything wrong? Is this difficult to address?

Thank you...

ryu1kn commented 7 years ago

Hi @karland , you're right, word-wrap is currently not supported and it would be not easy from Partial Diff point of view... Partial Diff actually relies on VS Code's diff view, and it doesn't support word-wrap at the moment.

https://github.com/Microsoft/vscode/issues/11387

ryu1kn commented 7 years ago

Oh, actually this issue is reported as #8. Anyway, thank you for reporting it, it helps me feel how many people are impacted with the issue.

I wonder if I can help vscode on this...

karland commented 7 years ago

@ryu1kn Thanks for your fast reply. And if you could help vscode on word-wrap in diffs that would be awesome...