Word Wrap in Diff Viewer
As a programmer who frequently works with files with long lines of code, I would like see them in a word-wrapped manner in the diff view in order to actually see the entire code on one screen.
An example of such a case are Markdown files that have been edited with Typora or another WYSIWYG Markdown editor. Such editors will put entire blocks of text onto a single line. When checking those into Git and then looking at the diff using GitKraken, a long scrollbar appears at the bottom. This is a bit inconvenient for working.
Comments: 18
-
02 Nov, '21
OnlineCopI would also like to recommend that this not be a global Preferences setting, as it makes more sense to toggle this as-needed from the View menu.
-
09 Apr, '22
gzzhttps://github.com/microsoft/vscode/issues/11387
For the developers: the diff view word wrapping functionality seems added to monaco editor, so upgrading the monaco editor version should make word wrapping work for diff view.
I need this desperately, especially for diff-ing latex and markdown files with very long lines. Hope you can consider it, thanks! -
18 May, '22
FrancisI would love this to be able to see changes in minified JS files as well!
-
18 May, '22
David Magalhães SousaThis is absolutely mandatory for latex files, since they also contain one-line chunks of text and becomes impossible to compare if they don't wrap.
-
24 Jun, '22
TwoleelandWord wrapping should be a standard toggling option which would make daily work a lot easier!
-
09 Dec, '22
ArianeI really hope you add this. Scrolling left and right in code has always infuriated me.
-
21 Dec, '22
CrisUrgently needed for working with documentation and any plain-text writing task
-
21 Dec, '22
MauriceYes, working with documents in Asciidoc is a pain at present. Please implement!
-
25 Jan, '23
NilsPlease, make this a priority. Thank you.
-
16 Jun, '23
AnikoMy team would also need this as we work with long lines of code. The editor that we use for writing code allows line wrap, so it makes it inconvenient to have to keep dragging the scrollbar on the bottom back and forth.
-
19 Jul, '23
BenI can just say what all the others have said before: Please make this a priority.
Our author team works with Git and seeing changes in GitKraken is such a performance booster. Unfortunately, the missing line wrap makes it really cumbersome... -
27 Jul, '23
Allison SheridanI use git with my partner for text files and it's not uncommon to have an entire paragraph highlighted as a conflict when there's just one word that's different. It's impossible to find the difference between the two with it being all on one line.
If you can't do that (and I'm not sure why the word wrap setting doesn't do it), could you at least highlight what's different between the two? -
28 Jul, '23
Bart BWhen working with code on a wide screen the lack of wrap is tolerable, but even code on a laptop can get frustrating.
Where things REALLY fall apart is when working on prose in plain-text markup languages like Markdown — entire paragraphs get rendered as a single endlessly scrolling line! -
10 Aug, '23
Adam RalphThe lack of word wrapping is the thing that most often makes me reach for an external diff viewer.
-
03 Nov, '23
JeremyAgreed. I find it very difficult to read very long lines, and when you then split the screen in half and force me to scroll sideways back and forth...that's an awful developer experience. Suffering from ADHD, I need to cut down on all the distractions and frustrations as possible to maintain my focus. This is not helping.
1 -
01 Dec, '23
EdgarI also need this.
-
01 Dec, '23
DDWould love to see this feature implemented, working on a laptop it's a pain to compare longer lines
1 -
07 Mar
0athSame here, writing a thesis in LaTeX and this would be really helpful.